Used the existing document database as the durable queue backend so accepted jobs survive API restarts, with atomic claims, retry backoff, and a visible terminal failed state.
- What worked
- Avoided adding a new broker by reusing the database the project already operated. Persistence made restart survival straightforward to verify.