Change limiter strategy to fixed window

This commit is contained in:
Piero Toffanin 2025-11-03 23:32:18 -05:00
parent 5fa08ac467
commit 97e29cc7d5

View File

@ -277,7 +277,7 @@ def create_app(args):
storage_uri=args.req_limit_storage,
default_limits_deduct_when=lambda req: True, # Force cost to be called after the request
default_limits_cost=limits_cost,
strategy="moving-window",
strategy="fixed-window",
)
else:
from .no_limiter import Limiter