pull/5007/head
Sorawis Nilparuk 2 years ago
parent aafc82c72e
commit 81d47e0819

@ -672,7 +672,7 @@ func Parse(d string) (*Config, error) {
}
result.Controller.GetDownstreamWorkersTimeoutDuration = t
}
if result.Controller.GetDownstreamWorkersTimeoutDuration <= 0 {
if result.Controller.GetDownstreamWorkersTimeoutDuration < 0 {
return nil, errors.New("get downstream workers timeout must be greater than 0")
}

Loading…
Cancel
Save