Add health check routes and state management #6
@@ -13,6 +13,7 @@ impl Default for HealthState {
|
||||
}
|
||||
|
||||
impl HealthState {
|
||||
#[allow(dead_code)] // used in tests
|
||||
pub fn new(start_time: Instant) -> Self {
|
||||
Self { start_time }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user