mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Add rate limiter for S3 API layer (#9196)
- total number of S3 API calls per server - maximum wait duration for any S3 API call This implementation is primarily meant for situations where HDDs are not capable enough to handle the incoming workload and there is no way to throttle the client. This feature allows MinIO server to throttle itself such that we do not overwhelm the HDDs.
This commit is contained in:
@@ -638,7 +638,7 @@ func listIAMConfigItems(objectAPI ObjectLayer, pathPrefix string, dirs bool,
|
||||
if !globalSafeMode {
|
||||
// Slow down listing and loading for config items to
|
||||
// reduce load on the server
|
||||
waitForLowHTTPReq(int32(globalEndpoints.Nodes()))
|
||||
waitForLowHTTPReq(int32(globalEndpoints.NEndpoints()))
|
||||
}
|
||||
|
||||
marker = lo.NextMarker
|
||||
|
||||
Reference in New Issue
Block a user