From 90a27e7c955c4503ae6f4bb65068238ec88b559f Mon Sep 17 00:00:00 2001 From: Evan Forbes <42654277+evan-forbes@users.noreply.github.com> Date: Thu, 9 Jun 2022 09:25:50 -0500 Subject: [PATCH] decrease default peer gossip sleep duration (#785) --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 73ffe49c83..f5bd67ed20 100644 --- a/config/config.go +++ b/config/config.go @@ -1152,7 +1152,7 @@ func DefaultConsensusConfig() *ConsensusConfig { SkipTimeoutCommit: false, CreateEmptyBlocks: true, CreateEmptyBlocksInterval: 0 * time.Second, - PeerGossipSleepDuration: 100 * time.Millisecond, + PeerGossipSleepDuration: 2 * time.Millisecond, PeerQueryMaj23SleepDuration: 2000 * time.Millisecond, DoubleSignCheckHeight: int64(0), }