From 050d79e57c0b0d035886b2d37ba3e63c267d81e1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 9 Sep 2021 00:06:56 +0200 Subject: [PATCH] fd --- files/templates/comments.html | 4 ++-- restart | 2 +- supervisord.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 998cbf0f6..8fc571923 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -469,8 +469,8 @@
  • Approve
  • Remove
  • {% else %} -
  • Approve
  • -
  • Remove
  • +
  • Approve
  • +
  • Remove
  • {% endif %} {% endif %} {% if v.admin_level >=4 and c.oauth_app %} diff --git a/restart b/restart index 971fd3835..5570e791c 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 20000 \ 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 500 \ No newline at end of file diff --git a/supervisord.conf b/supervisord.conf index 51ef851e3..49abc78ac 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 20000 +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 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr