mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 11:49:39 -05:00
default rate limit attempts to 5 per 15 sec
This commit is contained in:
committed by
Maxwell Becker
parent
36243e83c1
commit
413a8abc84
@@ -743,7 +743,7 @@ fn default_auth_rate_limit_max_attempts() -> u16 {
|
||||
}
|
||||
|
||||
fn default_auth_rate_limit_window_seconds() -> u64 {
|
||||
60
|
||||
15
|
||||
}
|
||||
|
||||
fn default_sync_directory() -> PathBuf {
|
||||
|
||||
@@ -321,8 +321,8 @@ auth_rate_limit_max_attempts = 5
|
||||
|
||||
## Set the rate limiting window in seconds.
|
||||
## Env: KOMODO_AUTH_RATE_LIMIT_WINDOW_SECONDS
|
||||
## Default: 60
|
||||
auth_rate_limit_window_seconds = 60
|
||||
## Default: 15
|
||||
auth_rate_limit_window_seconds = 15
|
||||
|
||||
########
|
||||
# CORS #
|
||||
|
||||
Reference in New Issue
Block a user