Skip to content
Discussion options

You must be logged in to vote

Good follow-ups. I dug deeper into the official docs and want to correct/refine a few things from my earlier response.

On the persistent 202s across 76% of repos

I want to correct myself - I mentioned a "24-hour cache TTL" earlier, but the docs don't document any time-based TTL. The cache is actually keyed by the SHA of the default branch, and the only documented invalidation trigger is pushing to that branch.

The likely reason you're seeing 76% 202s even after 5-15 minute delays is concurrency. GitHub's best practices explicitly say to "make requests serially, not concurrently." When you fire off warming requests to dozens of repos simultaneously, you're likely overwhelming the backgroun…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Sagargupta16
Comment options

Answer selected by anurag-rajawat
@anurag-rajawat
Comment options

Comment options

You must be logged in to vote
1 reply
@anurag-rajawat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates API Discussions around GitHub API platform and docs
3 participants