Dashboardopencode-loreWorker retry, urgent background, and re…

Worker retry, urgent background, and reset-drain policy

Category: architecture
Confidence: 1.00
ID: 01a08798-63d8-7e74-a279-31a202931a91
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 1O1uX56bx2edi1N9h
Created: 2026-08-25 00:26:58
Updated: 2026-09-09 19:15:06

Content

Urgent and background worker calls share one Claude-Code-like retry policy: honor Retry-After, otherwise use jittered exponential backoff from 500ms through 32s with up to 10 retries. Chose one policy over a fast-failing urgent/background split because OAuth and Claude-Max 429s commonly need 30–60 seconds; quick failure only piles background work onto the same rate limit.

Move to: