mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-16 00:00:37 +08:00
The fetch queue could sometimes not drain due to skipped fetches not signaling that to the dequeue loop. We now return a `bool` from `try_fetch` and keep trying to dequeue fetches until one of them actually is initiated. Additionally, we try to dequeue fetches at a regular interval (`IDLE_INTERVAL`) to ensure that the queue is drained.