Reduce SyncToNewPeersEvery (#1111)

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.
This commit is contained in:
Somnath Banerjee 2023-09-06 19:48:19 +05:30 committed by GitHub
parent 84c7a0f089
commit 2d6e293a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,