You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ignore response with empty provider_peers when handling GetProvidersRes?
#6699
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Currently, an
Event::OutboundQueryProgressedwill be push even ifprovider_peersis empty.rust-libp2p/protocols/kad/src/behaviour.rs
Lines 2365 to 2400 in 784c789
I think this is noise.
Since we ignore empty responses in the two places below, there seems to be no reason not to do the same when handling
GetProvidersRes.rust-libp2p/protocols/kad/src/behaviour.rs
Lines 2461 to 2510 in 784c789
rust-libp2p/protocols/kad/src/behaviour.rs
Lines 1060 to 1108 in 784c789
All reactions