From 828eb7860517396baabc6f27ba404ce8aa913b2b Mon Sep 17 00:00:00 2001
From: Lubomir Bucek <lubomir.bucek@eox.at>
Date: Thu, 23 Jul 2020 12:07:54 +0200
Subject: [PATCH] add gunicorn config from vhr_image_2018

---
 core/run-httpd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/run-httpd.sh b/core/run-httpd.sh
index 281a063d..66c21bab 100644
--- a/core/run-httpd.sh
+++ b/core/run-httpd.sh
@@ -2,4 +2,4 @@
 
 
 echo "Running gunicorn"
-exec gunicorn --chdir ${INSTALL_DIR}/pvs_instance/ --bind :80 pvs_instance.wsgi:application --workers 8 --worker-class sync --timeout 600 --access-logfile - --error-logfile - --log-level warning --disable-redirect-access-to-syslog
+exec gunicorn --chdir ${INSTALL_DIR}/pvs_instance/ --bind :80 pvs_instance.wsgi:application --workers 8 --max-requests 10 --max-requests-jitter 3 --worker-class sync --timeout 600 --access-logfile - --error-logfile - --log-level warning --disable-redirect-access-to-syslog
-- 
GitLab