From 7d7d4e983796b016fe411f83d6a9b047c6b73c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Jim=C3=A9nez=20Cabrera?= Date: Fri, 21 Jan 2022 15:25:58 +0000 Subject: [PATCH] Use two gunicorn workers --- entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint b/entrypoint index fb0f5e5ecb..086b5a5086 100755 --- a/entrypoint +++ b/entrypoint @@ -2,7 +2,7 @@ set -e -RUN_COMMAND="talisker.gunicorn.gevent webapp.app:create_app() --bind $1 --worker-class gevent --name talisker-`hostname`" +RUN_COMMAND="talisker.gunicorn.gevent webapp.app:create_app() --bind $1 --worker-class gevent --workers 2 --name talisker-`hostname`" if [ "${FLASK_DEBUG}" = true ] || [ "${FLASK_DEBUG}" = 1 ]; then RUN_COMMAND="${RUN_COMMAND} --reload --log-level debug --timeout 9999"