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:
parent
635000b9bf
commit
0f24e04cb2
2 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,7 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
env:
|
env:
|
||||||
- name: GUNICORN_CMD_ARGS
|
- 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
|
- name: DATABASE_ENGINE
|
||||||
value: postgresql
|
value: postgresql
|
||||||
- name: DATABASE_NAME
|
- name: DATABASE_NAME
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Route
|
kind: Route
|
||||||
metadata:
|
metadata:
|
||||||
|
annotations:
|
||||||
|
haproxy.router.openshift.io/timeout: 7m
|
||||||
name: transtats-web
|
name: transtats-web
|
||||||
labels:
|
labels:
|
||||||
app: transtats
|
app: transtats
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue