Skip to content

Commit

Permalink
Merge pull request #100 from libp2p/fix-logging-race
Browse files Browse the repository at this point in the history
Fix logging race
  • Loading branch information
Kubuxu authored Feb 4, 2019
2 parents a04dcb5 + 9d153e8 commit b601f9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions p2p/net/swarm/limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ func (dl *dialLimiter) clearAllPeerDials(p peer.ID) {
// channel when finished. Once the response is sent it also releases all tokens
// it held during the dial.
func (dl *dialLimiter) executeDial(j *dialJob) {
log.Debugf("[limiter] executing dial (dialfunc); peer: %s; addr: %s; FD consuming: %d; waiting: %d",
j.peer, j.addr, dl.fdConsuming, len(dl.waitingOnFd))
defer dl.finishedDial(j)
if j.cancelled() {
return
Expand Down

0 comments on commit b601f9a

Please sign in to comment.