cargo fmt

This commit is contained in:
2025-08-21 16:19:49 -07:00
parent a4bb6f170a
commit 9a35306340
2 changed files with 84 additions and 25 deletions
+6 -2
View File
@@ -101,8 +101,12 @@ impl App {
}
pub fn with_intervals(mut self, metrics_ms: Option<u64>, procs_ms: Option<u64>) -> Self {
if let Some(m) = metrics_ms { self.metrics_interval = Duration::from_millis(m.max(100)); }
if let Some(p) = procs_ms { self.procs_interval = Duration::from_millis(p.max(200)); }
if let Some(m) = metrics_ms {
self.metrics_interval = Duration::from_millis(m.max(100));
}
if let Some(p) = procs_ms {
self.procs_interval = Duration::from_millis(p.max(200));
}
self
}