Metadata cache leak fix + profiling

This commit is contained in:
2025-09-02 16:42:22 +01:00
parent 873105108e
commit 024e349aa9
7 changed files with 1378 additions and 22 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ func setupTestOIDCMiddleware(t *testing.T, config *Config) (*TraefikOidc, *httpt
forceHTTPS: config.ForceHTTPS,
allowedUserDomains: make(map[string]struct{}),
jwkCache: &JWKCache{},
metadataCache: NewMetadataCache(),
metadataCache: NewMetadataCache(nil),
ctx: context.Background(),
}