Unverified Commit 560fd10f authored by Hong Minhee's avatar Hong Minhee
Browse files

Add native retry support for message queues

Implements MessageQueue.nativeRetrial property to indicate whether
the message queue backend provides native retry mechanisms. When true,
Fedify skips its own retry logic and relies on the backend to handle
retries, avoiding duplicate retry mechanisms.

- DenoKvMessageQueue.nativeRetrial is true (Deno KV provides automatic retry)
- WorkersMessageQueue.nativeRetrial is true (Cloudflare Queues provide automatic
  retry)
- InProcessMessageQueue.nativeRetrial is false (no native retry)
- ParallelMessageQueue.nativeRetrial inherits from wrapped queue

Fixes https://github.com/fedify-dev/fedify/issues/250



Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent c7fc12bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment