From 4f1007f4e2f922dc704be0d7411ec1ee8b363876 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 29 Jun 2021 02:36:36 +0200 Subject: [PATCH] tune uwsgi --- app/wsgi.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/wsgi.ini b/app/wsgi.ini index d1b93b2b..2f1d2f03 100644 --- a/app/wsgi.ini +++ b/app/wsgi.ini @@ -31,8 +31,8 @@ worker-reload-mercy = 60 ; How long to wait before forcefully killin cheaper-algo = busyness processes = 128 ; Maximum number of workers allowed -cheaper = 8 ; Minimum number of workers allowed -cheaper-initial = 32 ; Workers created at startup +cheaper = 32 ; Minimum number of workers allowed +cheaper-initial = 64 ; Workers created at startup cheaper-overload = 1 ; Length of a cycle in seconds cheaper-step = 16 ; How many workers to spawn at a time -- 2.39.5