mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-06-05 22:44:17 +00:00
0.7.10 (#80)
* Add ability to disable replay protection. - This is useful for runs with multiple traefik replicas to avoid false positives and tokens re-creation. * Enhance the CI/CD pipelines * Increase test coverage. * Update vendored dependencies. * Update behaviour on forceHTTPS as per issue #82
This commit is contained in:
@@ -166,7 +166,7 @@ func (m *UniversalCacheManager) Close() error {
|
||||
m.tokenCache, m.blacklistCache, m.metadataCache, m.jwkCache, m.sessionCache, m.introspectionCache, m.tokenTypeCache,
|
||||
} {
|
||||
if cache != nil {
|
||||
cache.Close()
|
||||
_ = cache.Close() // Safe to ignore: best effort cache cleanup
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ func (m *UniversalCacheManager) Close() error {
|
||||
// This should only be called in test code to ensure proper cleanup between tests
|
||||
func ResetUniversalCacheManagerForTesting() {
|
||||
if universalCacheManager != nil {
|
||||
universalCacheManager.Close()
|
||||
_ = universalCacheManager.Close() // Safe to ignore: test cleanup best effort
|
||||
}
|
||||
universalCacheManagerOnce = sync.Once{}
|
||||
universalCacheManager = nil
|
||||
|
||||
Reference in New Issue
Block a user