Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-swarm
Commits
65dbfb6a
Unverified
Commit
65dbfb6a
authored
Feb 04, 2019
by
Jakub Sztandera
Committed by
GitHub
Feb 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #100 from libp2p/fix-logging-race
Fix logging race
parents
bc24d36f
12f5fed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
limiter.go
limiter.go
+0
-2
No files found.
limiter.go
View file @
65dbfb6a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment