Skip to content
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

fix(rate-limit): add retries with exponential backoff #140

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

zereraz
Copy link
Contributor

@zereraz zereraz commented Nov 26, 2024

Google sheets has very little per minute quota, so we added backoff there.
Emails are ingested quite fast so again lead to lots of quota errors.
Mainly these 2 are handled with retries.

One more issue was due to retries the sheets was delaying the drive file pipeline to be ingested, so it is moved to it's own concurrent ingestion pipeline similar to pdfs.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
… backoff
@zereraz zereraz merged commit 9177012 into main Nov 26, 2024
1 check passed
@zereraz zereraz deleted the quota-error-fix branch November 26, 2024 21:22
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.

None yet

1 participant