增加锁定状态记录生命周期配置项,优化清理内存的定时器

This commit is contained in:
wsczx
2024-10-04 11:55:46 +08:00
parent f195ae2d30
commit 59748fe395
4 changed files with 54 additions and 49 deletions

View File

@@ -98,6 +98,8 @@ type ServerConfig struct {
MaxGlobalIPBanCount int `json:"max_global_ip_ban_count"`
GlobalIPBanResetTime int `json:"global_ip_ban_reset_time"`
GlobalIPLockTime int `json:"global_ip_lock_time"`
GlobalLockStateExpirationTime int `json:"global_lock_state_expiration_time"`
}
func initServerCfg() {