mirror of
https://github.com/tendermint/tendermint.git
synced 2026-03-27 12:05:02 +00:00
wake more
This commit is contained in:
@@ -570,6 +570,10 @@ func (r *Router) dialSleep(ctx context.Context) {
|
||||
case <-timer.C:
|
||||
}
|
||||
|
||||
if !r.peerManager.HasMaxPeerCapacity() {
|
||||
r.peerManager.dialWaker.Wake()
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user