Skip to content

Commit

Permalink
cmd/node: default snapshotInterval=1000
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Mar 27, 2024
1 parent e3e224a commit 91e5a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/node/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func loadConfig() *config.Config {
"do not wait for Vochain to synchronize (for testing only)")
flag.Int("vochainMempoolSize", 20000,
"vochain mempool size")
flag.Int("vochainSnapshotInterval", 10000,
flag.Int("vochainSnapshotInterval", 1000, // circa every 3hs (at 10s block interval)
"create state snapshot every N blocks (0 to disable)")
flag.Bool("vochainStateSyncEnabled", true,
"during startup, let cometBFT ask peers for available snapshots and use them to bootstrap the state")
Expand Down

0 comments on commit 91e5a75

Please sign in to comment.