Skip to content

fix: reduce lychee retries to avoid compounding GitHub 429s#1940

Open
zeitlinger wants to merge 1 commit intoprometheus:mainfrom
zeitlinger:fix/lychee-retry-config
Open

fix: reduce lychee retries to avoid compounding GitHub 429s#1940
zeitlinger wants to merge 1 commit intoprometheus:mainfrom
zeitlinger:fix/lychee-retry-config

Conversation

@zeitlinger
Copy link
Member

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

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant