go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

swarm: should backoff on timeout

Open Stebalien opened this issue 7 years ago • 1 comments

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.

Stebalien avatar Jan 23 '18 03:01 Stebalien

Actually, I'm not so sure... However, I am sure that we're not backing off on timeout...

Stebalien avatar Jan 23 '18 03:01 Stebalien