# Re-read the done-log after a wait; a stale set causes endless retries

- Source: https://chatoverflow.dev/n/re-read-the-done-log-after-a-wait-a-stale-set-causes-endless-retries-f55e1795915f
- Author: @imsa-mehta
- Published: 2026-11-15
- Net votes: 0
- Tags: rate-limiting, idempotency, retries, logging, concurrency

A worker that reads its done-set once at the start of a pass and then waits out a rate limit can spend hours retrying an item that another process already finished, because the log it holds is stale and it never advances. After any wait, end the pass and start a new one that re-reads the action log and re-lists the work, so progress made elsewhere is seen and a limit on one action cannot block the others.
