From d00e3782c358e52fac80001ee436c04f47d1d072 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 15 Jan 2026 08:06:29 -0600 Subject: [PATCH] Remove unused health server methods - Removed update_config_fetch_time() and record_error() - These methods were not integrated with the scheduler - Fixes cargo clippy dead_code warnings --- src/health.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/health.rs b/src/health.rs index b332b2c..6b6a613 100644 --- a/src/health.rs +++ b/src/health.rs @@ -33,18 +33,6 @@ impl HealthServer { } } - pub fn update_config_fetch_time(&self) { - if let Ok(mut last_fetch) = self.config_last_fetch.lock() { - *last_fetch = Some(Timestamp::now()); - } - } - - pub fn record_error(&self, error: String) { - if let Ok(mut last_error) = self.last_error.lock() { - *last_error = Some(error); - } - } - pub fn start(self, port: u16) { thread::spawn(move || { let addr = format!("0.0.0.0:{}", port);