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

Cache google sheet contents, so they're retrieved no more than once per minute #4700

Closed
rbren opened this issue Nov 2, 2024 · 3 comments
Closed
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands Stale Inactive for 30 days

Comments

@rbren
Copy link
Collaborator

rbren commented Nov 2, 2024

We are accessing a google sheet on every request to /authenticate, which can be a lot. This can get rate limited

In openhands/server/github.py, modify the logic so that the sheet's contents are cached in memory, and only updated if they're > 60s old.

@rbren rbren added enhancement New feature or request fix-me Attempt to fix this issue with OpenHands labels Nov 2, 2024
Copy link
Contributor

github-actions bot commented Nov 2, 2024

OpenHands started fixing the issue! You can monitor the progress here.

Copy link
Contributor

github-actions bot commented Nov 2, 2024

A potential fix has been generated and a draft PR #4703 has been created. Please review the changes.

Copy link
Contributor

github-actions bot commented Dec 3, 2024

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale Inactive for 30 days label Dec 3, 2024
@enyst enyst closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands Stale Inactive for 30 days
Projects
None yet
2 participants