]> git.parisson.com Git - teleforma.git/commitdiff
increase worker nb
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 7 Mar 2025 11:25:01 +0000 (12:25 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 7 Mar 2025 11:25:01 +0000 (12:25 +0100)
app/wsgi.ini

index cfce22ee492a25e9266479a965f3cee1b366c570..cf65157f6a93d494e2c394dd187a718ddc479831 100644 (file)
@@ -31,9 +31,9 @@ reload-on-rss = 4096                 ; Restart workers after this much resident
 worker-reload-mercy = 300            ; How long to wait before forcefully killing workers
 
 cheaper-algo = busyness
-processes = 4                       ; Maximum number of workers allowed
-cheaper = 2                         ; Minimum number of workers allowed
-cheaper-initial = 2                 ; Workers created at startup
+processes = 8                       ; Maximum number of workers allowed
+cheaper = 4                         ; Minimum number of workers allowed
+cheaper-initial = 4                 ; Workers created at startup
 cheaper-overload = 1                 ; Length of a cycle in seconds
 cheaper-step = 1                     ; How many workers to spawn at a time