rack-attack/lib/rack/attack
Aaron Suggs e7aa5f4abe Use rotating cache keys for throttle (instead of expiring)
Throttles use a cache key with a timestamp (Time.now.to_i/period), so a
new cache key is used for each period.

No longer set an explicit expiry on each cache key (though it may
inherit a default expiry from the cache store).

Also, set env['rack.attack.throttle_data'] with info about incremented
(but not necessarily exceeded) throttles.
2012-08-08 14:59:42 -04:00
..
blacklist.rb Initial working version 2012-07-27 17:40:11 -04:00
cache.rb Use rotating cache keys for throttle (instead of expiring) 2012-08-08 14:59:42 -04:00
check.rb Change instrumentation API for simpler notifications 2012-07-30 15:44:22 -04:00
throttle.rb Use rotating cache keys for throttle (instead of expiring) 2012-08-08 14:59:42 -04:00
version.rb Use rotating cache keys for throttle (instead of expiring) 2012-08-08 14:59:42 -04:00
whitelist.rb Initial working version 2012-07-27 17:40:11 -04:00