Skip to content

Commit

Permalink
update sync threshold for testnet (#5096)
Browse files Browse the repository at this point in the history
## Motivation
devnet-406-short was created without this param set.
  • Loading branch information
countvonzero committed Sep 27, 2023
1 parent 6e8d6aa commit 7572d41
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/presets/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,11 @@ func testnet() config.Config {
FETCH: fetch.DefaultConfig(),
LOGGING: config.DefaultLoggingConfig(),
Sync: syncer.Config{
Interval: time.Minute,
EpochEndFraction: 0.8,
MaxStaleDuration: time.Hour,
GossipDuration: 50 * time.Second,
Interval: time.Minute,
EpochEndFraction: 0.8,
MaxStaleDuration: time.Hour,
GossipDuration: 50 * time.Second,
OutOfSyncThresholdLayers: 10,
},
Recovery: checkpoint.DefaultConfig(),
Cache: datastore.DefaultConfig(),
Expand Down

0 comments on commit 7572d41

Please sign in to comment.