-
Notifications
You must be signed in to change notification settings - Fork 486
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
Rate limited too soon #51
Comments
I think this was fixed by a recent PR, want to try again? |
The cache isn't being written to when the url:s are being processed. When the rate limit is exceeded, the program exits with a cache full of "RateLimited". Then when you run it again, it starts from the beginning, and gets rate limited at the same place again. I added this to index.ts:168 and it can now pick up where it left off:
|
I'm not quite sure where you added this line. Did you replace something else with it or simply add it? |
I'm running the script locally like this:
yarn index example.com
The rate limit exceeds after only around 100-120 urls, and if I rerun it starts from start and again aborts on rate limit aroudn 100-120 urls, so I'm not able to request index for all the URLs that come later.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: