1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 21:45:57 +00:00
Former-commit-id: 1747352d45933ad8c8623d8dcfdbcb176ecba50c
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-04 06:45:14 +03:00
parent af66e7404f
commit 37251c6b00
4 changed files with 10 additions and 9 deletions

View File

@@ -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