Patty::Security::LoginLimiter
Constants
COOLDOWN = 15.minutes
COOLDOWN_FAILURES = 10
ENTRY_TTL = 1.hour
GLOBAL_CAPACITY = 20.0
GLOBAL_REFILL = 1.0 / 10.0
MAX_ENTRIES = 10000
PER_IP_CAPACITY = 5.0
PER_IP_REFILL = 1.0 / 60.0
Instance methods
reset!
Source