improve message

This commit is contained in:
Sam 2017-12-20 09:51:23 +11:00
parent a0aca83c12
commit bbc606988f

View File

@ -173,7 +173,7 @@ class Middleware::RequestTracker
limiter60.performed!
rescue RateLimiter::LimitExceeded
if GlobalSetting.max_requests_per_ip_mode == "warn"
Rails.logger.warn("Global IP rate limit exceeded for #{ip} type: #{type}")
Rails.logger.warn("Global IP rate limit exceeded for #{ip}: #{type} second rate limit")
false
else
true