Skip to content
Browse files

Reworked the multi-constraint example (ordering is significant).

  • Loading branch information...
1 parent 807d04b commit 13ec977e824c5dc127c47006dfc90d7ea89f61cf @bendiken bendiken committed Mar 22, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -50,9 +50,9 @@ Examples
### Combining various throttling constraints into one overall policy
- use Rack::Throttle::Interval, :min => 3.0 # seconds
- use Rack::Throttle::Hourly, :max => 100 # requests
use Rack::Throttle::Daily, :max => 1000 # requests
+ use Rack::Throttle::Hourly, :max => 100 # requests
+ use Rack::Throttle::Interval, :min => 3.0 # seconds
### Storing the rate-limiting counters in a GDBM database

0 comments on commit 13ec977

Please sign in to comment.
Something went wrong with that request. Please try again.