go-libp2p
go-libp2p copied to clipboard
swarm: should backoff on timeout
In fixing libp2p/go-libp2p-kad-dht#96, we introduced a bug: we now don't backoff when the context is canceled. Unfortunately, this means we don't backoff if we timeout.
Actually, I'm not so sure... However, I am sure that we're not backing off on timeout...