remove dial wake change

This commit is contained in:
William Banfield
2022-06-21 19:39:08 -04:00
parent 034a9f8422
commit b9fb6dfbaa

View File

@@ -574,11 +574,6 @@ func (r *Router) dialSleep(ctx context.Context) {
}
r.options.DialSleep(ctx)
if !r.peerManager.HasDialedMaxPeers() {
r.peerManager.dialWaker.Wake()
}
}
// acceptPeers accepts inbound connections from peers on the given transport,