From dac480fc38d8e296c936df0c21a904de130e33de Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 28 Jul 2023 02:47:33 +0300 Subject: [PATCH] increase worker count --- services/rdrama.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/rdrama.service b/services/rdrama.service index 672f1965d..fc1d8bb8f 100644 --- a/services/rdrama.service +++ b/services/rdrama.service @@ -12,7 +12,7 @@ Group = rdrama WorkingDirectory = /d ExecStartPre = /bin/mkdir /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 ExecStop = /bin/kill -s TERM $MAINPID ExecStopPost = /bin/rm -rf /run/rdrama