Skip to content

Commit

Permalink
Merge pull request #305 from libp2p/fix/issue-291
Browse files Browse the repository at this point in the history
increment active dial counter in dial worker loop
  • Loading branch information
vyzo authored Dec 21, 2021
2 parents 67538c8 + 6299c02 commit 5674317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p2p/net/swarm/swarm_dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,8 @@ loop:
err := s.dialNextAddr(ad.ctx, p, addr, resch)
if err != nil {
dispatchError(ad, err)
} else {
active++
}
}

Expand Down

0 comments on commit 5674317

Please sign in to comment.