Dmitriy Ryajov a609baea26
Add basic retry functionality (#1119)
* adding basic retry functionality

* avoid duplicate requests and batch them

* fix cancelling blocks

* properly resolve blocks

* minor cleanup - use `self`

* avoid useless asyncSpawn

* track retries

* limit max inflight and set libp2p maxIncomingStreams

* cleanup

* add basic yield in readLoop

* use tuple instead of object

* cleanup imports and logs

* increase defaults

* wip

* fix prefetch batching

* cleanup

* decrease timeouts to speedup tests

* remove outdated test

* add retry tests

* should track retries

* remove useless test

* use correct block address (index was off by 1)

* remove duplicate noop proc

* add BlockHandle type

* Use BlockHandle type

* add fetchLocal to control batching from local store

* add format target

* revert deps

* adjust quotaMaxBytes

* cleanup imports and logs

* revert deps

* cleanup blocks on cancelled

* terminate erasure and prefetch jobs on stream end

* split storing and retrieving data into separate tests

* track `b.discoveryLoop` future

* misc

* remove useless check
2025-02-24 21:01:23 +00:00
..
2022-01-10 09:32:56 -06:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2024-01-29 17:03:51 -03:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2025-01-21 20:54:46 +00:00
2024-05-30 06:57:10 +00:00
2025-01-21 20:54:46 +00:00
2023-08-01 16:47:57 -07:00
2025-01-24 17:18:00 +00:00
2025-01-21 20:54:46 +00:00