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

Too many requests? #76

Open
pir8radio opened this issue Nov 14, 2022 · 1 comment
Open

Too many requests? #76

pir8radio opened this issue Nov 14, 2022 · 1 comment

Comments

@pir8radio
Copy link

pir8radio commented Nov 14, 2022

CoinGecko is rate limiting me.. In my python i am only performing ONE request every 120 seconds... but when i wireshark the API calls you are making there is MANY.. Coingecko shared with me their logs as well and they are seeing many requests (80-100) every 120 seconds. first image below is from coingecko, second image is wireshark showing TWO of about 80+ requests pycoingecko is making at one time.. any idea how this is happening? Here is my python source, should display cached data (which it does) then it expires the data after 120 seconds and is supposed to do 1 api call, update the cache, and serve from cache going forward.. is my code crap? or is it pycoingecko? https://github.com/pir8radio/signum-explorer/blob/master/scan/caching_data/exchange.py

image
image

@pir8radio
Copy link
Author

@man-c let me know if you see anything wrong with my code, or if this is a potential pycoingecko issue.. I can't figure it out, and may need your python expertise.

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

No branches or pull requests

1 participant