Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Increase SQLite busy_timeout from 1ms to 500ms (#49039)
Richard Feldmanb229520f8e91
diff --git a/crates/db/src/db.rs b/crates/db/src/db.rsindex eab2f115d8e..36f0365af97 100644--- a/crates/db/src/db.rs+++ b/crates/db/src/db.rs@@ -28,7 +28,7 @@ const CONNECTION_INITIALIZE_QUERY: &str = sql!(const DB_INITIALIZE_QUERY: &str = sql!(PRAGMA journal_mode=WAL;- PRAGMA busy_timeout=1;+ PRAGMA busy_timeout=500;PRAGMA case_sensitive_like=TRUE;PRAGMA synchronous=NORMAL;);