mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 07:31:12 +01:00
Make hibp rate configurable (#2105)
This commit is contained in:
parent
b6004f3336
commit
8f12fabd81
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ except Exception:
|
|||
HIBP_SCAN_INTERVAL_DAYS = 7
|
||||
HIBP_API_KEYS = sl_getenv("HIBP_API_KEYS", list) or []
|
||||
HIBP_MAX_ALIAS_CHECK = 10_000
|
||||
HIBP_RPM = 100
|
||||
HIBP_RPM = int(os.environ.get("HIBP_API_RPM", 100))
|
||||
HIBP_SKIP_PARTNER_ALIAS = os.environ.get("HIBP_SKIP_PARTNER_ALIAS")
|
||||
|
||||
KEEP_OLD_DATA_DAYS = 30
|
||||
|
|
Loading…
Reference in a new issue