From: Guillaume Pellerin Date: Tue, 29 Jun 2021 00:36:36 +0000 (+0200) Subject: tune uwsgi X-Git-Tag: 2.1~13 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4f1007f4e2f922dc704be0d7411ec1ee8b363876;p=teleforma.git tune uwsgi --- 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