From f5ca351ad1c4f298000af4904db363495904fc37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Tue, 9 Nov 2010 16:02:29 -0500 Subject: [PATCH 1/1] 50 request for 5 minutes --- aspects/ratelimitaspects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspects/ratelimitaspects.py b/aspects/ratelimitaspects.py index 0346567..67f0682 100644 --- a/aspects/ratelimitaspects.py +++ b/aspects/ratelimitaspects.py @@ -11,8 +11,8 @@ class BaseRateLimit(object): self.config = Config("/etc/planetlab/plc_config") self.prefix = "ratelimit" - self.minutes = 3 # The time period - self.requests = 10 # Number of allowed requests in that time period + self.minutes = 5 # The time period + self.requests = 50 # Number of allowed requests in that time period self.expire_after = (self.minutes + 1) * 60 def before(self, wobj, data, *args, **kwargs): -- 2.43.0