mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
Add a ratelimited listener than a ratelimited handler - more precise
This commit is contained in:
@@ -89,7 +89,6 @@ func registerCustomMiddleware(mux http.Handler, conf api.Config) http.Handler {
|
||||
)
|
||||
|
||||
mux = ch.final(mux)
|
||||
mux = api.RateLimitHandler(mux, conf.RateLimit)
|
||||
return mux
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user