From 73f2988b802fdd473edde98e5b02a335492ec541 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 14 Oct 2021 15:42:50 +0200 Subject: [PATCH] gfdfdg --- restart | 2 +- setup | 2 +- supervisord.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/restart b/restart index 5570e791c..9fc41563f 100644 --- a/restart +++ b/restart @@ -1,3 +1,3 @@ source /env killall gunicorn -gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 10000 --max-requests-jitter 500 \ No newline at end of file +gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file diff --git a/setup b/setup index d08940c10..be7a58954 100644 --- a/setup +++ b/setup @@ -16,4 +16,4 @@ sudo apt -y install ffmpeg mkdir /songs cp ./env /env . /env -gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 10000 --max-requests-jitter 500 \ No newline at end of file +gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file diff --git a/supervisord.conf b/supervisord.conf index 49abc78ac..514e614ce 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -5,7 +5,7 @@ logfile=/tmp/supervisord.log [program:service] directory=/service -command=gunicorn files.__main__:app -k gevent -w 2 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 10000 --max-requests-jitter 500 +command=gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr