Skip to content

Commit

Permalink
Reworked the multi-constraint example (ordering is significant).
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Mar 22, 2010
1 parent 807d04b commit 13ec977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 13ec977

Please sign in to comment.