mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 16:43:25 +08:00
增加锁定状态记录生命周期配置项,优化清理内存的定时器
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user