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
This commit is contained in:
Graham McIntire 2026-01-15 08:06:29 -06:00
parent e01a71be39
commit d00e3782c3
No known key found for this signature in database

View file

@ -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);