diff --git a/cmd/handler-api.go b/cmd/handler-api.go index ac8756b88..688cc83e9 100644 --- a/cmd/handler-api.go +++ b/cmd/handler-api.go @@ -127,7 +127,7 @@ func (t *apiConfig) init(cfg api.Config, setDriveCounts []int) { } } - if cap(t.requestsPool) < apiRequestsMaxPerNode { + if cap(t.requestsPool) != apiRequestsMaxPerNode { // Only replace if needed. // Existing requests will use the previous limit, // but new requests will use the new limit.