From e9c87a3c493d239cbe2f911550f367b8cb1ac8ff Mon Sep 17 00:00:00 2001 From: William Banfield <4561443+williambanfield@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:20:04 -0400 Subject: [PATCH] remove dial wake change (#8824) --- internal/p2p/router.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/p2p/router.go b/internal/p2p/router.go index 015c8610d..1bfd014fc 100644 --- a/internal/p2p/router.go +++ b/internal/p2p/router.go @@ -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,