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
What is the behavior you're expecting? Normally, max-requests=0 should mean that workers never auto-restart but from your log it looks as though it does.
The line self.max_requests = cfg.max_requests + jitter or MAXSIZE now self.max_requests = cfg.max_requests + jitter or sys.maxsize since e974f30 will set self.max_requests to the jitter value.
We should really set self.max_requests only if its setting value is greater than 0.
To reproduce, start gunicorn like this:
Then direct some traffic to it and observe the following log output:
I expect that
--max-requests-jitter
has no effect when--max-requests
is set to 0.The text was updated successfully, but these errors were encountered: