From b9fb6dfbaaedfe70b89604d78932bef8d0d509aa Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 21 Jun 2022 19:39:08 -0400 Subject: [PATCH] remove dial wake change --- 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,