mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
Limit number of connections upto system maxlimit (#5109)
This commit is contained in:
committed by
Nitish Tiwari
parent
84fc78d60f
commit
1f77708a30
@@ -85,6 +85,8 @@ func configureServerHandler(endpoints EndpointList) (http.Handler, error) {
|
||||
|
||||
// List of some generic handlers which are applied for all incoming requests.
|
||||
var handlerFns = []HandlerFunc{
|
||||
// Ratelimit the incoming requests using a token bucket algorithm
|
||||
setRateLimitHandler,
|
||||
// Validate all the incoming paths.
|
||||
setPathValidityHandler,
|
||||
// Network statistics
|
||||
|
||||
Reference in New Issue
Block a user