限制认证状态增长并优化阿里云默认入口和权限诊断

This commit is contained in:
xuans committed 2026-09-15 21:24:18 +08:00
1 parent 00ea12cbd9
commit 667f76924e
10 files changed
+353 -14

No files matched your search

+1
View File
@@ -106,6 +106,7 @@ type Server struct {
authMu sync.RWMutex
loginAttempts map[string]loginAttempt
loginMu sync.Mutex
loginPrunedAt time.Time
now func() time.Time
httpServer *http.Server
router *gin.Engine