Commit 2336288
fix(retry): limit max retry attempts to 10 and reduce max delay to 5 minutes
- Add RETRY_MAX_ATTEMPTS = 10 to prevent infinite retry loops
- Reduce RETRY_MAX_DELAY from 24.8 days to 5 minutes (300_000ms)
- Check attempt count in schedule step to stop after max attempts
Previously, a session could retry 113 times over 56 minutes. Now it will
stop after 10 attempts (max ~4.5 minutes total retry time).1 parent e11f0ae commit 2336288
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| |||
0 commit comments