bodhi: switch stg to asynch gunicorn workers
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
This commit is contained in:
parent
903df7e9e9
commit
9bbd59aafb
1 changed files with 4 additions and 0 deletions
|
@ -48,7 +48,11 @@ items:
|
|||
- name: bodhi-web
|
||||
image: bodhi-base:latest
|
||||
command: ["gunicorn"]
|
||||
{% if env == "staging" %}
|
||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-k", "gthread", "--threads", "2", "--preload", "--log-file=-"]
|
||||
{% else %}
|
||||
args: ["--paste", "/etc/bodhi/production.ini", "-b", "0.0.0.0:8080", "-w", "4", "--log-level", "DEBUG", "-t", "180", "--preload", "--log-file=-"]
|
||||
{% endif %}
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
{% if env == "staging" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue