mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-28 04:37:37 +00:00
🕯️ fix: Decay Violation Scores With a Configurable TTL (#15153)
This commit is contained in:
parent
c52ba4efdb
commit
b6e3cf46d2
5 changed files with 116 additions and 3 deletions
|
|
@ -677,6 +677,9 @@ BAN_VIOLATIONS=true
|
|||
BAN_DURATION=1000 * 60 * 60 * 2
|
||||
BAN_INTERVAL=20
|
||||
|
||||
# Violation scores expire after this long (in ms) without new violations; 0 = never expire
|
||||
VIOLATION_SCORE_TTL=1000 * 60 * 60
|
||||
|
||||
LOGIN_VIOLATION_SCORE=1
|
||||
REGISTRATION_VIOLATION_SCORE=1
|
||||
CONCURRENT_VIOLATION_SCORE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue