We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74ab92 commit 340a905Copy full SHA for 340a905
backend/src/lib/server.rs
@@ -371,8 +371,10 @@ async fn health_handler(
371
let is_healthy = now_secs.saturating_sub(last_event) <= 10;
372
373
let body = if is_healthy {
374
+ info!("Health check passed");
375
r#"{"success": true}"#
376
} else {
377
+ warn!("Health check failed - last event time: {} seconds ago", now_secs.saturating_sub(last_event));
378
r#"{"success": false}"#
379
};
380
0 commit comments