Retry Logic
Retry Logic
Webhook requests may encounter failure due to network or destination server issues. In such cases, Alloy employs an automatic retry mechanism. Initially, retries are scheduled at intervals of 1 second, 1 minute, and 10 minutes after the initial failure. Subsequently, retries continue on an exponential backoff for a duration of 24 hours from the time of the first failure.
| Attempt Number | Interval | Total Time Elapsed |
|---|---|---|
| 1 | 0 seconds | 0 seconds |
| 2 | 1 second | 1 second |
| 3 | 1 minute | 1 minute |
| 4 | 9 minutes | 10 minutes |
| 5 | 20 minutes | 30 minutes |
| 6 | 60 minutes | 90 minutes |
| 7 | 90 minutes | 3 hours |
| 8 | 3 hours | 6 hours |
| 9 | 6 hours | 12 hours |
| 10 | 12 hours | 24 hours |
It's important to note that new webhook events take priority over retrying failed events. Consequently, during peak traffic hours, the retry schedule may experience delays.
What if webhooks are failing?
If your webhooks fail to deliver 100 times continuously in a 72 hour period, it will be disabled automatically. You can re-enable it by setting to active in your webhook settings.