increase worker count

master
Aevann 2023-07-28 02:47:33 +03:00
parent e5419c2df7
commit dac480fc38
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Group = rdrama
WorkingDirectory = /d WorkingDirectory = /d
ExecStartPre = /bin/mkdir /run/rdrama ExecStartPre = /bin/mkdir /run/rdrama
ExecStartPre = /bin/chown -R rdrama:rdrama /run/rdrama ExecStartPre = /bin/chown -R rdrama:rdrama /run/rdrama
ExecStart = /bin/bash -c 'set -a && source /e && /usr/bin/env gunicorn files.__main__:app -w 16 --pid /run/rdrama/rdrama.pid' ExecStart = /bin/bash -c 'set -a && source /e && /usr/bin/env gunicorn files.__main__:app -w 32 --pid /run/rdrama/rdrama.pid'
ExecReload = /bin/kill -s HUP $MAINPID ExecReload = /bin/kill -s HUP $MAINPID
ExecStop = /bin/kill -s TERM $MAINPID ExecStop = /bin/kill -s TERM $MAINPID
ExecStopPost = /bin/rm -rf /run/rdrama ExecStopPost = /bin/rm -rf /run/rdrama