wake more

This commit is contained in:
tycho garen
2022-06-20 10:44:05 -04:00
parent 7378c6d76a
commit 1a7165acb1

View File

@@ -570,6 +570,10 @@ func (r *Router) dialSleep(ctx context.Context) {
case <-timer.C:
}
if !r.peerManager.HasMaxPeerCapacity() {
r.peerManager.dialWaker.Wake()
}
return
}