From 6ed220d063b1aefa27d44929d0c5cf668c834df9 Mon Sep 17 00:00:00 2001 From: rodrigolourencolopes Date: Wed, 23 Oct 2024 11:31:22 +0200 Subject: [PATCH] feat: remove repeated completion delay, and only add this if not set. --- charts/zeebe-benchmark/templates/workers.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/zeebe-benchmark/templates/workers.yaml b/charts/zeebe-benchmark/templates/workers.yaml index 1a40311..88df0f0 100644 --- a/charts/zeebe-benchmark/templates/workers.yaml +++ b/charts/zeebe-benchmark/templates/workers.yaml @@ -34,7 +34,6 @@ spec: -Dapp.worker.capacity={{ $worker.capacity }} {{- end }} -Dapp.worker.pollingDelay=1ms - -Dapp.worker.completionDelay=50ms -Dapp.worker.workerName={{ $workerName | quote }} {{- if $worker.jobType }} -Dapp.worker.jobType={{ $worker.jobType | quote }} @@ -44,7 +43,9 @@ spec: {{- end}} {{- if $worker.completionDelay }} -Dapp.worker.completionDelay={{ $worker.completionDelay }} - {{- end}} + {{- else }} + -Dapp.worker.completionDelay=50ms + {{- end }} {{- if $worker.message }} -Dapp.worker.sendMessage=true -Dapp.worker.messageName={{ $worker.message.name | quote }}