From 0279f3891b3fc2489ae84b5683458fd53123939c Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 15 Sep 2022 10:19:48 +0200 Subject: [PATCH] [#5112] Increase gunicorn timeout in training-env Some requests timeout because the backend takes too long to respond. The frontend then retries them sometimes which can lead to creation of multiple objects as is the case when creating a contributing project in a program. --- ci/training-envs/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/training-envs/templates/deployment.yaml b/ci/training-envs/templates/deployment.yaml index 2041b72d0e..dda6685aaf 100644 --- a/ci/training-envs/templates/deployment.yaml +++ b/ci/training-envs/templates/deployment.yaml @@ -127,7 +127,7 @@ spec: value: "something random" - &gunicorn-debug-args name: GUNICORN_DEBUG_ARGS - value: "--workers 4" + value: "--workers 4 --timeout 60" - &db-password name: DB_PASSWORD valueFrom: