Skip to content

Commit 6cc8291

Browse files
eabdelmoneimclaude
andauthored
Increase webhook retry attempts from 3 to 5 (#927)
* Increase webhook retry attempts from 3 to 8 - 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 <[email protected]> * Reduce webhook retry attempts from 8 to 5 - 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 <[email protected]> --------- Co-authored-by: Claude <[email protected]>
1 parent 3b5b14c commit 6cc8291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/queues/send-webhook-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class SendWebhookQueue {
5959
connection: redis,
6060
defaultJobOptions: {
6161
...defaultJobOptions,
62-
attempts: 3,
62+
attempts: 5,
6363
backoff: { type: "exponential", delay: 5_000 },
6464
},
6565
});

0 commit comments

Comments
 (0)