mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-13 04:07:37 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Further pursue of perfection.
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ func (bt *BackgroundTask) Start() {
|
||||
registry := GetGlobalTaskRegistry()
|
||||
if err := registry.cb.CanCreateTask(bt.name); err != nil {
|
||||
if bt.logger != nil {
|
||||
bt.logger.Errorf("Cannot start task %s: %v", bt.name, err)
|
||||
bt.logger.Debugf("Cannot start task %s: %v (circuit breaker protection working as expected)", bt.name, err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ func startReplayCacheCleanup(ctx context.Context, logger *Logger) {
|
||||
|
||||
if err != nil {
|
||||
if logger != nil {
|
||||
logger.Errorf("Failed to create replay cache cleanup task: %v", err)
|
||||
logger.Debugf("Replay cache cleanup task already exists or circuit breaker limit reached: %v (this is expected with multiple instances)", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user