We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1479e commit 3537fb6Copy full SHA for 3537fb6
p2p/discovery.go
@@ -145,7 +145,7 @@ func (pd *PeerDiscovery) gossipPeers(ctx context.Context) {
145
peers := pd.GetPeers()
146
pd.logger.Debug().Msgf("current peers: %v", peers)
147
148
- ctx, cancel := context.WithTimeout(ctx, 5*time.Second)
+ ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
149
defer cancel()
150
var wg sync.WaitGroup
151
sem := make(chan struct{}, MaxGossipConcurrency) // Limit concurrency
0 commit comments