From 3c25e80ec11815d0f858b0b62e3c4ec606f8c37b Mon Sep 17 00:00:00 2001 From: Daniel Rodowicz Date: Tue, 5 Sep 2023 10:58:29 -0400 Subject: [PATCH] inrease gunicorn timeout No-Issue --- docker/bin/start-api | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/bin/start-api b/docker/bin/start-api index e06fa41c07..e5ef33ccc2 100755 --- a/docker/bin/start-api +++ b/docker/bin/start-api @@ -8,6 +8,7 @@ readonly GUNICORN='/venv/bin/gunicorn' readonly GUNICORN_FORWARDED_ALLOW_IPS="${GUNICORN_FORWARDED_ALLOW_IPS:-}" readonly GUNICORN_WORKERS="${GUNICORN_WORKERS:-4}" readonly GUNICORN_LOGGER_CLASS="${GUNICORN_LOGGER_CLASS:-}" +readonly GUNICORN_TIMEOUT="${GUNICORN_TIMEOUT:-60}" readonly BIND_HOST='0.0.0.0' readonly BIND_PORT=${GUNICORN_PORT:-8000} @@ -19,6 +20,7 @@ GUNICORN_OPTIONS=( --workers "${GUNICORN_WORKERS}" --access-logfile - --limit-request-field_size 32768 + --timeout "${GUNICORN_TIMEOUT}" ) if [[ -n "${GUNICORN_FORWARDED_ALLOW_IPS}" ]]; then