-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use run-docker script for task processor (#173)
* Use run-docker script for task processor * Bump version * bump version * bump version * bump version
- Loading branch information
1 parent
d05e20a
commit 8bd648e
Showing
3 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 16 additions & 2 deletions
18
charts/flagsmith/templates/_task_processor_environment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
{{ include (print $.Template.BasePath "/_api_environment.yaml") . }} | ||
- name: "RUN_BY_PROCESSOR" | ||
value: "1" | ||
{{- if .Values.taskProcessor.sleepIntervalMs }} | ||
- name: TASK_PROCESSOR_SLEEP_INTERVAL | ||
value: {{ .Values.taskProcessor.sleepIntervalMs | quote }} | ||
{{- end }} | ||
{{- if .Values.taskProcessor.numThreads }} | ||
- name: TASK_PROCESSOR_NUM_THREADS | ||
value: {{ .Values.taskProcessor.numThreads | quote }} | ||
{{- end }} | ||
{{- if .Values.taskProcessor.gracePeriodMs }} | ||
- name: TASK_PROCESSOR_GRACE_PERIOD_MS | ||
value: {{ .Values.taskProcessor.gracePeriodMs | quote }} | ||
{{- end }} | ||
{{- if .Values.taskProcessor.queuePopSize }} | ||
- name: TASK_PROCESSOR_QUEUE_POP_SIZE | ||
value: {{ .Values.taskProcessor.queuePopSize | quote }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters