fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Further pursue of perfection.

This commit is contained in:
2025-09-06 03:23:03 +01:00
parent 05c316002d
commit a34488f533
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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
}