Skip to content

Commit

Permalink
update sync threshold for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
countvonzero committed Sep 27, 2023
1 parent 878ed5d commit bfed532
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 @@ -135,10 +135,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 bfed532

Please sign in to comment.