Skip to content

v2: When a run hits the rate limit reschedule the re-execution #1125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 23, 2024

Conversation

matt-aitken
Copy link
Member

If your run code hits the API rate limit in v2 it failed the run.

Now it throws a special error that the backend uses to reschedule the run execution for when the rate limit window has reset.

Copy link

changeset-bot bot commented May 23, 2024

🦋 Changeset detected

Latest commit: 284fd25

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matt-aitken matt-aitken merged commit 1281d40 into main May 23, 2024
2 checks passed
@matt-aitken matt-aitken deleted the v2/rate-limit-rescheduling branch May 23, 2024 12:26
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.

2 participants