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
bitswap/client: remove providerQueryManager and move logic in session
Closes: #172
See #172 (comment) too.
providerQueryManager took care of:
- Deduping multiple sessions doing find providers for the same CID.
- limiting global find providers.
None of which we care:
- This is rare, if this happens it's fine to run the same query twice.
If we care then we should make a deduping content router so we can inject it anywhere a content router is needed.
- It's fine to allow one concurrent find peer per session. No need to limit this at 6 globally after that, it's a great way to stall nodes doing many queries.
0 commit comments