mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-14 04:07:46 +00:00
fixup! fixup! Splitting code into multiple files with reasonable testing coverage.
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user