Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

[autofix.ci] apply automated fixes

autofix-ci[bot]3abd1dfaf3c2
diff --git a/crates/screenpipe-engine/src/routes/health.rs b/crates/screenpipe-engine/src/routes/health.rs
index dce9876fa..7fdbef589 100644
--- a/crates/screenpipe-engine/src/routes/health.rs
+++ b/crates/screenpipe-engine/src/routes/health.rs
@@ -1378,9 +1378,7 @@ async fn health_check_inner(state: &Arc<AppState>) -> HealthCheckResponse {
// Detect DB write stalls: capture loop is alive (heartbeat fresh) but DB
// writes have stopped. This indicates pool exhaustion or DB lock contention
// — data is being captured but silently lost.
- let vision_db_write_stalled = if !state.vision_disabled
- && vision_capture_expected
- {
+ let vision_db_write_stalled = if !state.vision_disabled && vision_capture_expected {
let stalled = vision_persistence_stalled(
now_ts,
vision_snap.last_capture_attempt_ts,