Skip to content

Commit

Permalink
Revert "Increase thread count per gunicorn worker (#52)" (#53)
Browse files Browse the repository at this point in the history
This reverts commit 787f5b8.
  • Loading branch information
jake-low authored Jan 6, 2025
1 parent 787f5b8 commit 960809f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/osmcha/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ spec:
containers:
- name: osmcha-api
image: {{ .Values.app.api.image.repository }}:{{ .Values.app.api.image.tag }}
args: ["gunicorn", "config.wsgi", "-b", "0.0.0.0:5000", "--access-logfile", "-", "--timeout", "120", "--workers", "4", "--threads", "16"]
resources:
{{- toYaml .Values.app.api.resources | nindent 10 }}
env:
Expand Down Expand Up @@ -72,6 +71,8 @@ spec:
value: "False"
- name: DJANGO_ENABLE_CHANGESET_COMMENTS
value: "True"
- name: WEB_CONCURRENCY
value: "5"
ports:
- containerPort: 5000
volumeMounts:
Expand Down

0 comments on commit 960809f

Please sign in to comment.