Skip to content

Retry rate-limited flag requests - #253

Draft
austinbutler wants to merge 1 commit into
launchdarkly:mainfrom
MercuryTechnologies:fix/ld-429-retries
Draft

austinbutler wants to merge 1 commit into
launchdarkly:mainfrom
MercuryTechnologies:fix/ld-429-retries

Conversation

@austinbutler

@austinbutler austinbutler commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

ℹ️ I meant to open this against our own fork, but GitHub's UI defaulted to here and I hit open PR before I realized. My plan is to run the code from this change internally in our CI, then if I'm confident it solves the problem adequately I'll mark this PR as ready. In the meantime I figured no much reason to close this out even if it was opened accidentally, you all just get an earlier preview of my intention I suppose.


Following my own PR #251, I noticed a higher rate of 429s from LaunchDarkly's API. Makes sense, pagination means more requests.

So this PR adds retries. It's based on your own documentation for rate limiting.

Please feel free to do what you want with this PR, for example if lots of changes are needed and you want to do it yourself, take whatever you want from this PR. I only want to raise the issue and ensure it gets addressed somehow.

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