Skip to content

Commit cc17d6e

Browse files
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 errors
1 parent d9d8dab commit cc17d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/config/lychee.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# See https://lychee.cli.rs/config/
33

44
timeout = 30
5-
retry_wait_time = 5
6-
max_retries = 6
5+
retry_wait_time = 10
6+
max_retries = 2
77
max_concurrency = 4
88

99
# Check link anchors

0 commit comments

Comments
 (0)