bodhi: switch prod to asynch gunicorn workers
Signed-off-by: Mattia Verga <mattia.verga@proton.me>
This commit is contained in:
parent
1105c72692
commit
b38a69f95f
1 changed files with 0 additions and 4 deletions
|
@ -44,11 +44,7 @@ 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