Skip to content

Commit a1a010a

Browse files
weltekialexellis
authored andcommitted
Add upstream_timeout env configuration
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent e369e07 commit a1a010a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

chart/openfaas/templates/jetstream-queueworker-dep.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ spec:
6666
value: "{{ .Values.jetstreamQueueWorker.logs.debug }}"
6767
- name: "log_encoding"
6868
value: "{{ .Values.jetstreamQueueWorker.logs.format }}"
69+
- name: upstream_timeout
70+
value: "{{ .Values.gateway.upstreamTimeout }}"
6971

7072
# OpenFaaS PRO license required
7173
- name: "max_retry_attempts"

chart/openfaas/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ operator:
178178
#
179179
# Enable automatically when nats.queueMode is set to "jetstream"
180180
jetstreamQueueWorker:
181-
image: ghcr.io/openfaasltd/jetstream-queue-worker:0.1.0-rc2
181+
image: ghcr.io/openfaasltd/jetstream-queue-worker:0.1.0-rc3
182182
durableName: "faas-workers"
183183
logs:
184184
debug: false

0 commit comments

Comments
 (0)