waku-org/go-waku

View on GitHub
waku/v2/peermanager/peer_connector.go

Summary

Maintainability
A
35 mins
Test Coverage
B
80%

Method PeerConnectionStrategy.consumeSubscription has 5 return statements (exceeds 4 allowed).
Open

func (c *PeerConnectionStrategy) consumeSubscription(s subscription) {
    for {
        // for returning from the loop when peerConnector is paused.
        select {
        case <-c.Context().Done():
Severity: Major
Found in waku/v2/peermanager/peer_connector.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status