-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Hitting rate limits with Modrinth API #2140
Comments
@triphora , how would like my mc-image-helper tooling to handle to API rate limits? Retry with delay, as requested above, or some other way? |
How exactly are you forming your requests? It shouldn't exactly be possible to get anywhere close to hitting the ratelimit if you use the bulk get routes appropriately. |
Good question 😀 ...I'll work on getting in more use of https://docs.modrinth.com/api-spec/#tag/projects/operation/getProjects I'm glad I asked you 😁 |
I'll initially look into delaying 429's by the duration reported by Longer term can switch to bulk project retrieval when this is resolved |
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open. |
Thanks @triphora! I'll adapt the code to use that API. |
Describe the problem
I seem to be running into rate limits when starting a server and downloading all of the mods.
The container should pause and retry after hitting rate limits.
Container definition
No response
Container logs
The text was updated successfully, but these errors were encountered: