Merge pull request #124 from jasl/patch-1

Update README.md
This commit is contained in:
Aaron Suggs 2015-04-18 21:58:33 -04:00
commit e25ab0a313

View file

@ -199,7 +199,7 @@ Rack::Attack.track("special_agent") do |req|
end
# Supports optional limit and period, triggers the notification only when the limit is reached.
Rack::Attack.track("special_agent", :limit 6, :period => 60.seconds) do |req|
Rack::Attack.track("special_agent", :limit => 6, :period => 60.seconds) do |req|
req.user_agent == "SpecialAgent"
end