waku/v2/peermanager/peer_connector.go
Method PeerConnectionStrategy.consumeSubscription
has 5 return statements (exceeds 4 allowed). Open
Open
func (c *PeerConnectionStrategy) consumeSubscription(s subscription) {
for {
// for returning from the loop when peerConnector is paused.
select {
case <-c.Context().Done():