Skip to content

Commit 2b21096

Browse files
staticoclaude
andcommitted
Set default packet limit to 1000
Reduces memory usage for typical sessions. Users can still override with --packet-limit if they need more history. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 0a535a3 commit 2b21096

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ let clearSession = false;
9191
let meshViewUrl: string | undefined;
9292
let useFahrenheit = false;
9393
let enableLogging = true;
94-
let packetLimit = 50000;
94+
let packetLimit = 1000;
9595

9696
for (let i = 0; i < args.length; i++) {
9797
const arg = args[i];
@@ -130,7 +130,7 @@ Options:
130130
--skip-nodes, -N Skip downloading node database on startup (much faster connect)
131131
--meshview, -m MeshView URL for packet/node links (default: from settings or disabled)
132132
--fahrenheit, -F Display temperatures in Fahrenheit instead of Celsius
133-
--packet-limit, -p Maximum packets to store in database (default: 50000)
133+
--packet-limit, -p Maximum packets to store in database (default: 1000)
134134
--enable-logging, -L Enable verbose logging to ~/.config/meshtastic-cli/log
135135
--help, -h Show this help message
136136
`);

0 commit comments

Comments
 (0)