Issue #67 fixed.

This commit is contained in:
2025-09-25 12:49:50 +01:00
parent 252fb817ed
commit 7697273541
8 changed files with 434 additions and 177 deletions
+5
View File
@@ -34,6 +34,11 @@ var (
globalMaxSessions int64 = 5000 // CRITICAL FIX: Global limit of 5000 total sessions
)
// ResetGlobalSessionCounters resets global session tracking for testing
func ResetGlobalSessionCounters() {
atomic.StoreInt64(&globalSessionCount, 0)
}
// Predefined configurations for each token type
var (
AccessTokenConfig = TokenConfig{