From f6cddc07dc77f622d775c9e5e10977a336e05618 Mon Sep 17 00:00:00 2001 From: Sorawis Nilparuk Date: Tue, 13 Aug 2024 20:12:49 +0000 Subject: [PATCH] backport of commit 3d7f20e6c6c88390165a972e31b64f65d6a43644 --- internal/cmd/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/config/config.go b/internal/cmd/config/config.go index 7061b7e566..7e900c4b1b 100644 --- a/internal/cmd/config/config.go +++ b/internal/cmd/config/config.go @@ -824,7 +824,7 @@ func Parse(d string) (*Config, error) { } result.Worker.GetDownstreamWorkersTimeoutDuration = t } - if result.Worker.GetDownstreamWorkersTimeoutDuration <= 0 { + if result.Worker.GetDownstreamWorkersTimeoutDuration < 0 { return nil, errors.New("get downstream workers timeout must be greater than 0") }