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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: skip audio reconciliation when transcription is disabled
Louis Beaumontceb77559dd0c
diff --git a/crates/screenpipe-audio/src/audio_manager/reconciliation.rs b/crates/screenpipe-audio/src/audio_manager/reconciliation.rsindex 735c54b71..4e78de7ed 100644--- a/crates/screenpipe-audio/src/audio_manager/reconciliation.rs+++ b/crates/screenpipe-audio/src/audio_manager/reconciliation.rs@@ -83,6 +83,12 @@ pub async fn reconcile_untranscribed(data_dir: Option<&Path>,batch_max_duration_secs: Option<u64>,) -> usize {+ // Nothing to reconcile when transcription is disabled — skip entirely+ // to avoid the silent-audio deletion path nuking audio files.+ if *audio_engine == AudioTranscriptionEngine::Disabled {+ return 0;+ }+// Prevent concurrent reconciliation runs — two Whisper sessions = 200%+ CPUif RECONCILIATION_RUNNING.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst)