libp2p / go-libp2p-kad-dht

A Kademlia DHT implementation on go-libp2p
https://github.com/libp2p/specs/tree/master/kad-dht
MIT License
524 stars 224 forks source link

Possible bug in deadline calculation #376

Closed tompre closed 5 years ago

tompre commented 5 years ago

Is it possible that the deadline calculation in line 421 was supposed to be '- timeout/ 10'? https://github.com/libp2p/go-libp2p-kad-dht/blob/3c72a7c61fc66de7dac9e3d85700a6a8847480fc/routing.go#L416-L426

Stebalien commented 5 years ago

Thanks for catching that! Want to make a PR or should I?