mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: regression around rate limiter
This commit is contained in:
@@ -2,7 +2,7 @@ class RateLimiter
|
||||
|
||||
# A rate limit has been exceeded.
|
||||
class LimitExceeded < StandardError
|
||||
attr_reader :type
|
||||
attr_reader :type, :available_in
|
||||
|
||||
def initialize(available_in, type = nil)
|
||||
@available_in = available_in
|
||||
|
||||
Reference in New Issue
Block a user