You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
and eventually hitting 429 exception, which I expected to avoid. I believe it might be due to either (1) your rate limiting code is not considering many concurrently scheduled fetches, or (2) it is calling "morechildren" more than one at a time, where the reddit doc says (for morechildren): "NOTE: you may only make one request at a time to this API endpoint. Higher concurrency will result in an error being returned.", and maybe that is returning 429.
Or ... am I missing something here? I never want to take a 429 exception, no matter how long my script runs! How?
The text was updated successfully, but these errors were encountered:
I am doing
r.config({ continueAfterRatelimitError: true, requestDelay: 1000, debug: true });
r.getSubmission(ID).expandReplies({depth: 5}).then(data => { ... }
and eventually hitting 429 exception, which I expected to avoid. I believe it might be due to either (1) your rate limiting code is not considering many concurrently scheduled fetches, or (2) it is calling "morechildren" more than one at a time, where the reddit doc says (for morechildren): "NOTE: you may only make one request at a time to this API endpoint. Higher concurrency will result in an error being returned.", and maybe that is returning 429.
Or ... am I missing something here? I never want to take a 429 exception, no matter how long my script runs! How?
The text was updated successfully, but these errors were encountered: