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

Produces a 67 second delay every 24 requests. #81

Open
fluxtransistor opened this issue Feb 13, 2021 · 2 comments
Open

Produces a 67 second delay every 24 requests. #81

fluxtransistor opened this issue Feb 13, 2021 · 2 comments

Comments

@fluxtransistor
Copy link

I'm pulling every hot 100 chart into JSON format. I have set the scraper to have a timeout of 4 seconds and a max-retries of 1, but somehow it still produces a 67 second delay once every 24 requests. This adds a significant amount of time to my aggregator's runtime.

@fluxtransistor
Copy link
Author

So I have determined that it's not exactly 24 requests, but it varies thereabouts. Interestingly, the delay time is always 67 seconds.

@guoguo12
Copy link
Owner

Thanks for reporting. Haven't had time to look into this, but the delay probably comes from Billboard (they send a Retry-After header, which this library respects), in which case, there's nothing to be done here.

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

2 participants