queue-retries.md
attributes
| source_path | references/queue-retries.md |
|---|---|
| source_sha256 | 966e7cbe309f46c7ed39f8a6e8fcd9beea0eeedc248a9005073a1266c188cf4d |
| source_url | https://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/agents-sdk/references/queue-retries.md |
| supporting_skill_id | 40176 |
| upstream_revision | 47dfc2ce969bf62acf8bc231198ade4bb02712e0 |
Queue & Retries
Read the current Cloudflare documentation for queue management, retry options, defaults, and callback examples.
| Task | Documentation |
|---|---|
| Enqueue, inspect, and remove background work; understand sequential processing and failure handling | Queue tasks |
| Retry an operation or configure retries for queued and scheduled callbacks | Retries |
| Delay recovery or run work on a recurring schedule | Schedule tasks |
Keep these execution choices in mind when using the linked guides:
- Use the built-in queue for sequential background work. Retries block later queue items; use scheduling for long recovery waits.
- Retry delays keep the Durable Object active. Choose retry budgets with execution cost and latency in mind.
- Queued items are removed after their retry budget is exhausted; there is no built-in dead-letter queue. Record failures explicitly when the application needs recovery or auditing.
- The selective retry predicate is available on
this.retry(), not serialized queue or schedule options. Handle non-retryable errors in those callbacks.
See state-scheduling.md for choosing schedule modes and persisting application state.
Children
No children yet.
Like how this is organised?
Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.