From 142e3effbf6a07cdf288bbe04925c0c8cb313fc8 Mon Sep 17 00:00:00 2001 From: carlosribas Date: Thu, 21 Nov 2024 14:57:08 +0000 Subject: [PATCH] Update gunicorn params --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 91f94acf4..2704a9d1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,4 +70,4 @@ USER rnacentral COPY ./entrypoint.sh $RNACENTRAL_HOME ENTRYPOINT ["/srv/rnacentral/rnacentral-webcode/entrypoint.sh"] -CMD ["gunicorn", "--chdir", "/srv/rnacentral/rnacentral-webcode/rnacentral", "--bind", "0.0.0.0:8000", "rnacentral.wsgi:application", "--worker-class", "gthread", "--threads", "8", "--keep-alive", "20", "--workers", "4", "--timeout", "120", "--max-requests", "1000", "--max-requests-jitter", "100", "--log-level=debug", "--access-logfile", "/dev/stdout", "--error-logfile", "/dev/stderr"] +CMD ["gunicorn", "--chdir", "/srv/rnacentral/rnacentral-webcode/rnacentral", "--bind", "0.0.0.0:8000", "rnacentral.wsgi:application", "--workers", "4", "--threads", "2", "--timeout", "120", "--graceful-timeout", "60", "--keep-alive", "10", "--max-requests", "1000", "--max-requests-jitter", "100", "--log-level=debug", "--access-logfile", "/dev/stdout", "--error-logfile", "/dev/stderr"]