Skip to content

Commit

Permalink
Briefly comment singleMes
Browse files Browse the repository at this point in the history
  • Loading branch information
bigs committed Aug 21, 2018
1 parent 17a76e3 commit e174e62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dht_net.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ type messageSender struct {
p peer.ID
dht *IpfsDHT

invalid bool
invalid bool
// singleMes tracks the number of times a message or request has failed to
// send via this messageSender, triggering a stream reset if its limit is
// reached.
singleMes int
}

Expand Down

0 comments on commit e174e62

Please sign in to comment.