限制认证状态增长并优化阿里云默认入口和权限诊断
This commit is contained in:
1 parent
00ea12cbd9
commit
667f76924e
10 files changed
+353
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user