thecodeworm commited on
Commit
19cf379
·
verified ·
1 Parent(s): 8c2da88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ temp_files = {}
69
 
70
  class SimpleRateLimiter:
71
  """Simple in-memory rate limiter for demo protection"""
72
- def __init__(self, max_requests: int = 20, window_minutes: int = 60):
73
  self.max_requests = max_requests
74
  self.window = timedelta(minutes=window_minutes)
75
  self.requests = defaultdict(list)
 
69
 
70
  class SimpleRateLimiter:
71
  """Simple in-memory rate limiter for demo protection"""
72
+ def __init__(self, max_requests: int = 100, window_minutes: int = 60):
73
  self.max_requests = max_requests
74
  self.window = timedelta(minutes=window_minutes)
75
  self.requests = defaultdict(list)