Skip to content

Commit

Permalink
Merge pull request #59 from Spone/patch-1
Browse files Browse the repository at this point in the history
Fix option name in README
  • Loading branch information
FreekingDean authored Mar 1, 2023
2 parents b60d155 + ba33b00 commit f70857d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Rules are checked in this order:
It is possible to set the time window for this strategy to: `:second` (default), `:minute`, `:hour` or `:day`, to change the check interval to these windows.

```ruby
use Rack::Throttle::Rules, limits: limits, time_window: :minute
use Rack::Throttle::Rules, rules: rules, time_window: :minute
```


Expand Down

0 comments on commit f70857d

Please sign in to comment.