diff --git a/libretranslate/app.py b/libretranslate/app.py index c95700d..ab7171e 100644 --- a/libretranslate/app.py +++ b/libretranslate/app.py @@ -238,7 +238,8 @@ 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 + default_limits_cost=limits_cost, + strategy="fixed-window-elastic-expiry", ) else: from .no_limiter import Limiter