优化代码,为后续手动管理锁定状态做准备

This commit is contained in:
wsczx
2024-10-27 23:14:51 +08:00
parent f8685490dc
commit 5f7b11954a
6 changed files with 409 additions and 311 deletions

View File

@@ -17,7 +17,7 @@ func Start() {
sessdata.Start()
cron.Start()
initAntiBruteForce() //初始化防爆破定时器和IP白名单
admin.InitLockManager() //初始化防爆破定时器和IP白名单
// 开启服务器转发
err := execCmd([]string{"sysctl -w net.ipv4.ip_forward=1"})