From 1a11cd255e4db51bc909de439b0c7e8103095e3f Mon Sep 17 00:00:00 2001 From: Eiman Date: Tue, 2 Dec 2025 14:37:00 -0600 Subject: [PATCH 1/2] Increase webhook retry attempts from 3 to 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changes webhook delivery attempts from 3 to 8 - Keeps exponential backoff with 5-second base delay - Total retry window increases from ~15s to ~10m 35s - Provides better resilience for temporary outages, deployments, and restarts Timeline: - Attempt 1: 0s - Attempt 2: +5s (5s total) - Attempt 3: +10s (15s total) - Attempt 4: +20s (35s total) - Attempt 5: +40s (1m 15s total) - Attempt 6: +1m 20s (2m 35s total) - Attempt 7: +2m 40s (5m 15s total) - Attempt 8: +5m 20s (10m 35s total) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/worker/queues/send-webhook-queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/queues/send-webhook-queue.ts b/src/worker/queues/send-webhook-queue.ts index 410f6053..9a439f0e 100644 --- a/src/worker/queues/send-webhook-queue.ts +++ b/src/worker/queues/send-webhook-queue.ts @@ -59,7 +59,7 @@ export class SendWebhookQueue { connection: redis, defaultJobOptions: { ...defaultJobOptions, - attempts: 3, + attempts: 8, backoff: { type: "exponential", delay: 5_000 }, }, }); From 5c0584dd78e39312bebf93a146765b2ff3f4561a Mon Sep 17 00:00:00 2001 From: Eiman Date: Tue, 2 Dec 2025 14:50:33 -0600 Subject: [PATCH 2/2] Reduce webhook retry attempts from 8 to 5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changes webhook delivery attempts from 8 to 5 - Keeps exponential backoff with 5-second base delay - Total retry window: ~1 minute 15 seconds - Balances resilience with resource efficiency Timeline: - Attempt 1: 0s - Attempt 2: +5s (5s total) - Attempt 3: +10s (15s total) - Attempt 4: +20s (35s total) - Attempt 5: +40s (1m 15s total) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/worker/queues/send-webhook-queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/queues/send-webhook-queue.ts b/src/worker/queues/send-webhook-queue.ts index 9a439f0e..72a97d3e 100644 --- a/src/worker/queues/send-webhook-queue.ts +++ b/src/worker/queues/send-webhook-queue.ts @@ -59,7 +59,7 @@ export class SendWebhookQueue { connection: redis, defaultJobOptions: { ...defaultJobOptions, - attempts: 8, + attempts: 5, backoff: { type: "exponential", delay: 5_000 }, }, });