`max-requests-delta` option not recognised in uwsgi 2.0.20
Hi,
Just tried to use this option in our setup.
uwsgi python version:
uwsgi --version
2.0.20
When it is in wsgi.ini (skipped irrelevant options):
[uwsgi]
strict = true
max-requests-delta = 100 ; Add delta to stagger worker restarts on requests count
results in:
uwsgi wsgi.ini
[uWSGI] getting INI configuration from wsgi.ini
[strict-mode] unknown config directive: max-requests-delta
when using it as a command line arg (commented it out in wsgi.ini at that time):
uwsgi wsgi.ini --max-requests-delta 100 1 х platform Py at 14:36:25
uwsgi: unrecognized option `--max-requests-delta'
getopt_long() error
since it is mentioned in the newest documentation (but the max-worker-lifetime-delta is not, but works) could it be that the documentation meant to have max-worker-lifetime-delta and the max-requests-delta is not an option? Probably not and it is a bug....
The answer is here: https://github.com/unbit/uwsgi/issues/2037#issuecomment-640167887
I still have the same issue with max-requests-delta:
[uWSGI] getting INI configuration from worker.ini
[strict-mode] unknown config directive: max-requests-delta
Any updates? @xrmx I saw in another thread that you were working on it