Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Jun 14, 2023
1 parent e3bff25 commit 43e8891
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,6 @@ func (dht *IpfsDHT) peerFound(ctx context.Context, p peer.ID) {
dht.lookupChecksLk.Unlock()
// drop the new peer.ID if the maximal number of concurrent lookup
// checks is reached
fmt.Println("dropping peer", p, "because of too many concurrent lookup checks")
return
}
dht.concurrentLookupChecks++
Expand All @@ -695,7 +694,6 @@ func (dht *IpfsDHT) peerFound(ctx context.Context, p peer.ID) {
livelinessCtx, cancel := context.WithTimeout(ctx, dht.lookupCheckTimeout)
defer cancel()

//go func() {
// performing a FIND_NODE query
err := dht.lookupCheck(livelinessCtx, p)

Expand Down

0 comments on commit 43e8891

Please sign in to comment.