Merge pull request #877 from warpc/876-increase-limit-of-requests
[refs #876]: increase limit of requests per hour from 500 to 2000
This commit is contained in:
commit
0dc85a2a38
|
@ -9,7 +9,7 @@ class ApiDefender < Rack::Throttle::Hourly
|
|||
options = {
|
||||
:cache => Redis.new(:thread_safe => true),
|
||||
:key_prefix => :throttle,
|
||||
:max => 500 # only 500 request per hour
|
||||
:max => 2000 # only 2000 request per hour
|
||||
}
|
||||
@app, @options = app, options
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue