From a3ee77c94a911141bb1a287ef0c7eab3cacc8db8 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Sat, 13 Dec 2014 02:00:24 +0300 Subject: [PATCH] increased a limit of requests per hour --- lib/api_defender.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api_defender.rb b/lib/api_defender.rb index 053dd6c23..f23221c34 100644 --- a/lib/api_defender.rb +++ b/lib/api_defender.rb @@ -9,7 +9,7 @@ class ApiDefender < Rack::Throttle::Hourly options = { cache: Redis.new(thread_safe: true), key_prefix: :throttle, - max: 2000 # only 2000 request per hour + max: 3000 # only 3000 request per hour } @app, @options = app, options end