feat(nunciod): bound outbox per-item execution with a timeout #349

Merged
KofTwentyTwo merged 1 commits from story/ws-c2-outbox-timeout into dev 2026-07-31 21:31:35 +00:00
1 Commits
Author SHA1 Message Date
James Maes da210b073c feat(nunciod): bound outbox per-item execution with a timeout
Wrap each outbox mutation's execution in a per-item timeout raced against
the shutdown signal, so one hung remote op (a stuck IMAP/JMAP call or
webhook) can no longer freeze delivery for every other pending mutation
across every account. A timed-out item is dispositioned exactly like any
other transient failure: retryable, bumping retry_count, never completed.

Refs #290
2026-07-31 16:26:49 -05:00