Commit cc17d6e
authored
fix: reduce lychee retries to avoid compounding GitHub 429s (#1940)
## Summary
- Reduce `max_retries` from 6 to 2 and increase `retry_wait_time` from
5s to 10s
- 6 retries with 5s wait compounds 429 rate limiting from GitHub — many
rapid retries keep triggering rate limits
- Fewer retries with longer wait between them is more effective at
recovering from 429s
## Test plan
- [ ] Link check CI workflow passes without hitting sustained 429 errors1 parent d9d8dab commit cc17d6e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments