remove dial wake change (#8824)

This commit is contained in:
William Banfield
2022-06-21 20:20:04 -04:00
committed by GitHub
parent 034a9f8422
commit e9c87a3c49

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,