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

parallel operations

matthew-heartful3a956712a1e6
diff --git a/screenpipe-server/src/db.rs b/screenpipe-server/src/db.rs
index a0b97398a..886ccae57 100644
--- a/screenpipe-server/src/db.rs
+++ b/screenpipe-server/src/db.rs
@@ -107,6 +107,11 @@ impl DatabaseManager {
.connect(&connection_string)
.await?;
+ // Enable WAL mode
+ sqlx::query("PRAGMA journal_mode = WAL;")
+ .execute(&pool)
+ .await?;
+
let db_manager = DatabaseManager { pool };
// Run migrations after establishing the connection