ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
812 stars 81 forks source link

fix: cancel in-flight block requests when racing brokers #490

Closed achingbrain closed 2 months ago

achingbrain commented 2 months ago

If multiple brokers are configured, when one resolves a block request, cancel the outstanding requests to free up resources.

Change checklist

2color commented 2 months ago

Nice! I was under the impression we already had this! This is great!