From 0ac415ad83faa32d9193521b848f86f3b5f7a373 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 26 Oct 2023 06:11:14 +0000 Subject: [PATCH] lower max requests per worker --- api/tacticalrmm/core/management/commands/create_uwsgi_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/core/management/commands/create_uwsgi_conf.py b/api/tacticalrmm/core/management/commands/create_uwsgi_conf.py index 10446caa..d18a015a 100644 --- a/api/tacticalrmm/core/management/commands/create_uwsgi_conf.py +++ b/api/tacticalrmm/core/management/commands/create_uwsgi_conf.py @@ -35,7 +35,7 @@ class Command(BaseCommand): "buffer-size": str(getattr(settings, "UWSGI_BUFFER_SIZE", 65535)), "vacuum": str(getattr(settings, "UWSGI_VACUUM", True)).lower(), "die-on-term": str(getattr(settings, "UWSGI_DIE_ON_TERM", True)).lower(), - "max-requests": str(getattr(settings, "UWSGI_MAX_REQUESTS", 500)), + "max-requests": str(getattr(settings, "UWSGI_MAX_REQUESTS", 50)), "disable-logging": str( getattr(settings, "UWSGI_DISABLE_LOGGING", True) ).lower(),