Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Reduce SyncToNewPeersEvery (#1111)
Browse files Browse the repository at this point in the history
The default 2 min SyncToNewPeersEvery seems like too big a value for txn
propagation. So, changing the default to something like 5 sec w/o
introducing a flag.
  • Loading branch information
somnathb1 committed Sep 6, 2023
1 parent 84c7a0f commit 2d6e293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txpool/txpoolcfg/txpoolcfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type Config struct {
}

var DefaultConfig = Config{
SyncToNewPeersEvery: 2 * time.Minute,
SyncToNewPeersEvery: 5 * time.Second,
ProcessRemoteTxsEvery: 100 * time.Millisecond,
CommitEvery: 15 * time.Second,
LogEvery: 30 * time.Second,
Expand Down

0 comments on commit 2d6e293

Please sign in to comment.