diff --git a/helm-quarry/templates/web_deployment.yaml b/helm-quarry/templates/web_deployment.yaml index 403550a..00439f1 100644 --- a/helm-quarry/templates/web_deployment.yaml +++ b/helm-quarry/templates/web_deployment.yaml @@ -19,7 +19,8 @@ spec: image: {{ .Values.web.repository }}:{{ .Values.web.tag }} imagePullPolicy: Always command: ["gunicorn"] - args: ["-w", "4", "--bind", "0.0.0.0:5000", "wsgi:application"] + # gthread seems to behave better + args: ["-w", "4", "-k", "gthread", "--threads", "4", "--bind", "0.0.0.0:5000", "wsgi:application"] readinessProbe: httpGet: path: / diff --git a/helm-quarry/values.yaml b/helm-quarry/values.yaml index 2dff4a0..09d037b 100644 --- a/helm-quarry/values.yaml +++ b/helm-quarry/values.yaml @@ -1,6 +1,6 @@ web: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-112 # web tag managed by github actions + tag: pr-113 # web tag managed by github actions resources: requests: @@ -12,7 +12,7 @@ web: worker: repository: 'quay.io/wikimedia-quarry/quarry' - tag: pr-112 # worker tag managed by github actions + tag: pr-113 # worker tag managed by github actions resources: requests: memory: "400Mi"