mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 06:02:47 +08:00
improve message
This commit is contained in:
parent
a0aca83c12
commit
bbc606988f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user