From b45ea0da11d67a4033daab67ca0a011c2599bf57 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 31 Jan 2013 17:34:27 +0400 Subject: [PATCH] #876: increase 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 ba76be26f..dd3489a7b 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 => 500 # only 500 request per hour + :max => 2000 # only 2000 request per hour } @app, @options = app, options end