fixup! fixup! Splitting code into multiple files with reasonable testing coverage.

This commit is contained in:
2025-09-09 09:20:10 +01:00
parent c04f949656
commit a31fd64112
17 changed files with 1360 additions and 208 deletions
+3 -1
View File
@@ -330,7 +330,9 @@ func (mm *MemoryMonitor) StartMonitoring(ctx context.Context, interval time.Dura
}
task.Start()
mm.logger.Info("Started memory monitoring with %v interval", interval)
if !isTestMode() {
mm.logger.Info("Started memory monitoring with %v interval", interval)
}
}
// checkAlerts checks for memory-related alerts