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

hotfix for maxiumum queue size of unconsumed frame_queue

Divyam Chandel6c20bdd3bee7
diff --git a/screenpipe-server/src/video.rs b/screenpipe-server/src/video.rs
index 5402ad9ad..11525dcec 100644
--- a/screenpipe-server/src/video.rs
+++ b/screenpipe-server/src/video.rs
@@ -15,7 +15,7 @@ use tokio::process::{Child, ChildStdin, Command};
use tokio::sync::mpsc::{channel, Receiver, Sender};
const MAX_FPS: f64 = 30.0; // Adjust based on your needs
-const MAX_QUEUE_SIZE: usize = 100;
+const MAX_QUEUE_SIZE: usize = 10;
pub struct VideoCapture {
#[allow(unused)]