From 279102690fb3830e5be08c86de1ebe68ac97431c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 8 Sep 2021 19:25:50 +0200 Subject: [PATCH] fd --- restart | 2 +- supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/restart b/restart index a49abcda2..971fd3835 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/ \ No newline at end of file +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 20000 \ No newline at end of file diff --git a/supervisord.conf b/supervisord.conf index 3125863a8..51ef851e3 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/ +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 20000 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr