refactor(app): split service into two funtions

This commit is contained in:
2025-08-09 22:28:22 +02:00
parent 0564083ac7
commit f3e8b01d7e
2 changed files with 5 additions and 2 deletions

View File

@@ -45,5 +45,6 @@ fn main() {
Box::new(system_monitor_adapter),
Box::new(formatter),
);
service.run();
service.alert_on_threshold_violation();
service.send_all_metrics_notification();
}