Aaron Suggs
ab3a540834
Merge pull request #1 from tiegz/patch-1
...
Minor typos fix
2012-08-15 13:56:58 -07:00
Tieg Zaharia
d21b973d9e
Minor typos fix
2012-08-15 16:45:37 -03:00
Aaron Suggs
8e46fad3f3
Update README
2012-08-15 09:45:32 -04:00
Aaron Suggs
853c9ceef3
Set :expires_in on throttle cache counters
...
Should reduce memcached evictions
2012-08-09 11:05:30 -04:00
Aaron Suggs
0656975d98
Clarify readme
2012-08-08 15:25:13 -04:00
Aaron Suggs
5a9f991b6e
Update README
2012-08-08 15:09:41 -04:00
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
Aaron Suggs
bbd078ee81
Better README
2012-08-06 14:17:11 -04:00
Aaron Suggs
6784f21612
Better cache interface
2012-08-06 14:16:08 -04:00
Aaron Suggs
e135f17386
proper emphasis
2012-08-06 12:17:54 -04:00
Aaron Suggs
9c4dccac48
Make cache & notifier attr_accessors
...
Easier config for non-rails apps
2012-08-06 12:17:31 -04:00
Aaron Suggs
d50e779cdc
version 1.0.0
2012-08-02 12:15:40 -04:00
Aaron Suggs
8e59e84e00
Response header values must be strings
2012-08-02 12:15:16 -04:00
Aaron Suggs
4a3faa4b1b
README typo
2012-07-30 15:49:31 -04:00
Aaron Suggs
f82750c1c2
Move license to readme
...
…so it doesn't mess with autocomplete.
2012-07-30 15:46:47 -04:00
Aaron Suggs
ccdc1f993a
Change instrumentation API for simpler notifications
2012-07-30 15:44:22 -04:00
Aaron Suggs
9552d56c24
Fix instrumentation example
2012-07-30 13:55:01 -04:00
Aaron Suggs
2092515c13
Add example instrumentation
2012-07-30 12:45:16 -04:00
Aaron Suggs
61a046a203
Cleanup instrumentation interface
2012-07-30 09:34:30 -04:00
Aaron Suggs
359ebe9068
Change description
2012-07-29 10:52:00 -04:00
Aaron Suggs
4d8195f783
README: describe instrumentation
2012-07-28 22:30:10 -04:00
Aaron Suggs
0faab21338
More docs
2012-07-28 22:23:22 -04:00
Aaron Suggs
cf49b00c00
DRY up initial values
2012-07-28 22:09:56 -04:00
Aaron Suggs
c90a0182eb
Allow custom responses based on env
2012-07-28 19:51:24 -04:00
Aaron Suggs
623c1ea05d
Cleanup README
2012-07-28 19:35:59 -04:00
Aaron Suggs
32eac5caf1
updated README
2012-07-28 14:04:10 -04:00
Aaron Suggs
d25a7f5d24
add travis ci
2012-07-27 17:45:29 -04:00
Aaron Suggs
32261841f3
add .travis.yml
2012-07-27 17:41:58 -04:00
Aaron Suggs
dc2e402812
Initial working version
2012-07-27 17:40:11 -04:00
Aaron Suggs
e166e87fb9
Add throttle support
2012-07-27 17:22:49 -04:00
Aaron Suggs
c22c33f9ec
add rake
2012-07-27 09:56:15 -04:00
Aaron Suggs
9284a08cc3
Whitelists support
2012-07-26 17:29:09 -04:00
Aaron Suggs
885b19c633
added license and readme
2012-07-25 10:25:14 -04:00
Aaron Suggs
7fab5df499
WIP
2012-07-24 19:59:46 -04:00
Aaron Suggs
140ea86b7c
Initial commit
2012-07-24 19:40:55 -04:00