correct regression

This commit is contained in:
Sam 2018-04-18 21:04:08 +10:00
parent 2e1454a6e2
commit 4810ce3607
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ class Middleware::RequestTracker
limiter10.performed!
type = 60
limiter60.performed!
false
rescue RateLimiter::LimitExceeded
if warn
Rails.logger.warn("Global IP rate limit exceeded for #{ip}: #{type} second rate limit, uri: #{request.env["REQUEST_URI"]}")