Skip to content

Commit

Permalink
Add configuration option for commit batch size (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha-alisch authored Aug 6, 2020
1 parent 8479702 commit 1bfabaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 4.7.2
version: 4.8.0
appVersion: 20.7.0
dependencies:
- name: redis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- name: {{ .Chart.Name }}-post-process-forward
image: "{{ .Values.images.sentry.repository }}:{{ .Values.images.sentry.tag }}"
imagePullPolicy: {{ .Values.images.sentry.pullPolicy }}
command: ["sentry", "run", "post-process-forwarder", "--commit-batch-size", "1"]
command: ["sentry", "run", "post-process-forwarder", "--commit-batch-size", "{{ default "1" .Values.sentry.postProcessForward.commitBatchSize }}"]
env:
- name: SNUBA
value: http://{{ template "sentry.fullname" . }}-snuba:{{ template "snuba.port" }}
Expand Down
1 change: 1 addition & 0 deletions sentry/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sentry:
nodeSelector: {}
# tolerations: []
# podLabels: []
# commitBatchSize: 1

snuba:
api:
Expand Down

0 comments on commit 1bfabaa

Please sign in to comment.