Unverified Commit 65dbfb6a authored by Jakub Sztandera's avatar Jakub Sztandera Committed by GitHub

Merge pull request #100 from libp2p/fix-logging-race

Fix logging race
parents bc24d36f 12f5fed2
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment