transstats: increase timeouts for haproxy and gunicorn workers

https://pagure.io/fedora-infrastructure/issue/6459

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-01-04 19:33:42 +00:00
parent 635000b9bf
commit 0f24e04cb2
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -1,6 +1,8 @@
apiVersion: v1
kind: Route
metadata:
annotations:
haproxy.router.openshift.io/timeout: 7m
name: transtats-web
labels:
app: transtats