Skip to content

Commit

Permalink
add maxWaitForWork
Browse files Browse the repository at this point in the history
  • Loading branch information
sofuture committed Sep 5, 2024
1 parent be37027 commit 2edd789
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ template:
{{- end }}
{{- if .Values.inboxListener.autoscaling.enabled }}
- name: MAX_WAIT_FOR_WORK
value: 30s
value: {{ .Values.inboxListener.autoscaling.maxWaitForWork }}
{{- end }}
{{- if .Values.inboxListener.deployment.localScratch.enabled }}
- name: LOCAL_SCRATCH_ROOT
Expand Down
4 changes: 4 additions & 0 deletions charts/primary-site/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ inboxListener:
enabled: false
minReplicas: 1
maxReplicas: 10
# This value, supplied as duration string (https://pkg.go.dev/time#ParseDuration) determines how long a pod will
# wait for new work items. It is unlikely that this value should be changed. The value should only be set when
# using this auto-scaling.
maxWaitForWork: "30s"

streamService:
service:
Expand Down

0 comments on commit 2edd789

Please sign in to comment.