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

Bump app v2.0.493

Louis Beaumontc13986210abf
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 90cea68e0..8600b44c5 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.0.492"
+version = "2.0.493"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/crates/screenpipe-db/src/db.rs b/crates/screenpipe-db/src/db.rs
index 34028d4a5..5dadcdb4f 100644
--- a/crates/screenpipe-db/src/db.rs
+++ b/crates/screenpipe-db/src/db.rs
@@ -169,12 +169,12 @@ impl DatabaseManager {
let db_manager = DatabaseManager {
pool,
- // 1 permit = writes are serialized at the application level.
- // SQLite WAL only supports one writer at a time; with 2 permits the
- // second writer's BEGIN IMMEDIATE would hit SQLITE_BUSY and retry,
- // adding latency without improving throughput. Serializing here
- // eliminates those BUSY retries entirely.
- write_semaphore: Arc::new(Semaphore::new(1)),
+ // 2 permits = allow one writer to do pre-work (reads, prep) while
+ // another holds the SQLite write lock. SQLite WAL only supports one
+ // concurrent writer, but pipelining at the app level avoids idle gaps.
+ // The FTS indexer uses micro-batches (25 rows) with yields between
+ // each, so frame inserts can interleave without starvation.
+ write_semaphore: Arc::new(Semaphore::new(2)),
};
// Run migrations after establishing the connection