mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 21:45:57 +00:00
minor
Former-commit-id: 1747352d45933ad8c8623d8dcfdbcb176ecba50c
This commit is contained in:
@@ -168,8 +168,6 @@ func (l *Limiter) serveHTTP(ctx context.Context) {
|
||||
|
||||
ctx.Values().Set(clientContextKey, client)
|
||||
|
||||
// reserve := client.Limiter.Reserve()
|
||||
// if reserve.OK() {
|
||||
if client.Limiter.Allow() {
|
||||
ctx.Next()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user