bodhi: attempt to bump the timeout from 30s to 180s
Both openshift and gunicorn have a timeout. We're ran in the past in situations where bodhi was a little slow to answer and thus either gunicorn or openshift were returning a 504 error. With this commit, we hope to increase both timeout values and thus give bodhi a little more time to answer. Hopefully this will help fixing: https://pagure.io/fedora-infrastructure/issue/9320 Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
ea064cbdc6
commit
116987403f
2 changed files with 2 additions and 1 deletions
|
@ -112,6 +112,7 @@
|
|||
host: "bodhi{{ env_suffix }}.fedoraproject.org"
|
||||
serviceport: web
|
||||
servicename: bodhi-web
|
||||
annotations: "haproxy.router.openshift.io/timeout: 180s"
|
||||
- role: openshift/object
|
||||
app: bodhi
|
||||
template: deploymentconfig.yml
|
||||
|
|
|
@ -59,7 +59,7 @@ items:
|
|||
- name: bodhi-web
|
||||
image: bodhi-base:latest
|
||||
command: ["gunicorn"]
|
||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "60"]
|
||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180"]
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
resources: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue