From 0f24e04cb2542ff49ae6276c029d5a9c1f7e853f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 4 Jan 2019 19:33:42 +0000 Subject: [PATCH] transstats: increase timeouts for haproxy and gunicorn workers https://pagure.io/fedora-infrastructure/issue/6459 Signed-off-by: Kevin Fenzi --- roles/openshift-apps/transtats/files/deploymentconfig.yml | 2 +- roles/openshift-apps/transtats/files/route.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/transtats/files/deploymentconfig.yml b/roles/openshift-apps/transtats/files/deploymentconfig.yml index d435715cd8..9919fd8c8d 100644 --- a/roles/openshift-apps/transtats/files/deploymentconfig.yml +++ b/roles/openshift-apps/transtats/files/deploymentconfig.yml @@ -23,7 +23,7 @@ spec: - containerPort: 8080 env: - name: GUNICORN_CMD_ARGS - value: "--workers 3 --bind 0.0.0.0:8080 --timeout 300" + value: "--workers 3 --bind 0.0.0.0:8080 --timeout 400" - name: DATABASE_ENGINE value: postgresql - name: DATABASE_NAME diff --git a/roles/openshift-apps/transtats/files/route.yml b/roles/openshift-apps/transtats/files/route.yml index 7e01795b29..83bbdade94 100644 --- a/roles/openshift-apps/transtats/files/route.yml +++ b/roles/openshift-apps/transtats/files/route.yml @@ -1,6 +1,8 @@ apiVersion: v1 kind: Route metadata: + annotations: + haproxy.router.openshift.io/timeout: 7m name: transtats-web labels: app: transtats