-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
sregistry limit questions #326
Comments
You could try setting |
Many thanks for the speedy reply. Unfortunately that didn't change anything for me. My test loop simply pushes the same container over itself continuously with a 1 second sleep between pushes. Within 7-10 minutes and 15-20 containers pushed, the 429 error returns. |
Have you tried setting the limit to None, and block to False? And also make sure to reset containers and clear the cache you are using. |
Also, we should double check the version - as of 3.0.0 the RatelimitMixin is deprecated in favor of using method_decorator. |
heyo! Just checking in. Did setting to None have any luck? |
Hi, The settings didn't take, but I haven't had a chance to update the containers yet. I have a window to make that change tomorrow, so I'll get back to you as soon as I've completed that. |
Sounds good! We would want to check:
And we might need to look into if the ratelimit module uses a cache or some database model to determine rules - it could be that you make a change and then it's not reflected because the database / cache still sees old requests. |
I have a local sregistry running, and have the following config items:
However when things get busy, get the following error from "singularity push" operations:
A simple loop will have me limited in about 20 push requests over the course of 15-30 minutes. Restarting the sregistry docker container resets the limits.
This is a private facing registry for an internal user group, and I don't want to impose any limits on them at all. Is there a config item I've missed? I've attempted to set some of those values to "0" as well, with no luck (either the container won't start, or the problem doesn't go away).
The text was updated successfully, but these errors were encountered: