Skip to content
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

max-requests-delta and strict mode #1488

Closed
philtay opened this issue Mar 19, 2017 · 5 comments
Closed

max-requests-delta and strict mode #1488

philtay opened this issue Mar 19, 2017 · 5 comments

Comments

@philtay
Copy link

philtay commented Mar 19, 2017

It looks like that the max-requests-delta can't be used in strict mode.
Steps to reproduce:

  1. Create foo.ini:
[uwsgi]
strict = true
max-requests-delta = 100
  1. Start uWSGI:
$ uwsgi --ini foo.ini

Result:

[uWSGI] getting INI configuration from foo.ini
[strict-mode] unknown config directive: max-requests-delta

uWSGI version 2.0.14

@unbit
Copy link
Owner

unbit commented Mar 25, 2017

max-requests-delta is a 2.1 option

@unbit unbit closed this as completed Mar 25, 2017
@tuky
Copy link

tuky commented May 2, 2023

I am pretty sure, this has been backported, but strict mode still complains about max-requests-delta in 2.0.21. More surprisingly, the even newer option max-worker-lifetime-delta is allowed in strict mode 😅

@amaddio
Copy link

amaddio commented Aug 1, 2023

@unbit I can find no release for 2.1. The latest version is 2.0.22. The problem still exists in 2.0.21

/bin/uwsgi --ini bin/uwsgi_config.ini
[uWSGI] getting INI configuration from bin/uwsgi_config.ini
[strict-mode] unknown config directive: max-requests-delta

@pavanvarma08
Copy link

the problem still exists on 2.0.26 version (current latest version)

(venv) ➜  demo git:(master) ✗ pip freeze | grep uWSGI
uWSGI==2.0.26
(venv) ➜  demo git:(master) ✗ uwsgi --ini uwsgi/uwsgi.ini
[uWSGI] getting INI configuration from uwsgi/uwsgi.ini
[strict-mode] unknown config directive: max-requests-delta

@mroczek123
Copy link

mroczek123 commented Nov 8, 2024

uWSGI 2.0.28
uwsgi: unrecognized option '--max-requests-delta'
I can find this setting in docs https://uwsgi-docs.readthedocs.io/en/latest/Options.html#max-requests-delta

But there is no info in docs in which version or when this setting is available.

Remove this flag from docs if this feature idea is abandoned because it makes people confused about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants