Rate limit public registration writes
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-08-10 17:52:53 +02:00
parent cccca324c1
commit b80de5a1f4
6 changed files with 129 additions and 1 deletions

View file

@ -102,6 +102,12 @@ def create_application() -> PortalApplication:
).split(",")
if item.strip()
),
registration_rate_limit=int(
os.environ.get("USER_ENGINE_REGISTRATION_RATE_LIMIT", "10")
),
registration_rate_window_seconds=int(
os.environ.get("USER_ENGINE_REGISTRATION_RATE_WINDOW_SECONDS", "60")
),
)