If there is a non-200 response, or the request times-out within 30 seconds, Canopy Connect will retry sending the webhook up to 10 times. The rate at which the retries will occur can be determined using the following exponential backoff algorithm:
{interval} + {current_retry_attempt} ^ 4
Where the interval
is 60 seconds. Applying the formula above, the 10 retries will occur on the following schedule:
Attempt | Next Retry (seconds) | Total Elapsed (seconds) |
---|---|---|
1 | 61 | 61 |
2 | 76 | 137 |
3 | 141 | 278 |
4 | 361 | 594 |
5 | 685 | 1,279 |
6 | 1,356 | 2,635 |
7 | 2,461 | 5,096 |
8 | 4,156 | 9,252 |
9 | 6,621 | 15,873 |
10 | 10,060 | 25,933 |