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") }