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

node: Throttle CoinGecko queries #3867

Merged
merged 3 commits into from
Apr 3, 2024
Merged

node: Throttle CoinGecko queries #3867

merged 3 commits into from
Apr 3, 2024

Conversation

djb15
Copy link
Collaborator

@djb15 djb15 commented Apr 1, 2024

We're consistently hitting the CoinGecko API rate limit now on the free plan which means we're not always updating prices and the query check fails when trying to update the governor token list. Rather than paying for the premium API plans we could instead just throttle our requests, since these price updates are not time critical.

Someone better then me at Go can tell me if this is rubbish!

Copy link
Contributor

@bruce-riley bruce-riley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@djb15 djb15 merged commit a648515 into main Apr 3, 2024
23 checks passed
@djb15 djb15 deleted the throttle-coingecko branch April 3, 2024 21:49
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.

3 participants