branch: elpa/emacsql
commit e42d9392358780294bc5c4fca9ef95247da17945
Author: Christopher Wellons <well...@nullprogram.com>
Commit: Christopher Wellons <well...@nullprogram.com>

    In SQLite, block for up to 30 seconds on db lock.
    
    This should make it a lot easier to use.
---
 emacsql-sqlite.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 1274898c62..6a12f719a9 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -60,6 +60,7 @@ buffer. This is for debugging purposes."
           '(".mode list"
             ".separator ' '"
             ".nullvalue nil"
+            "PRAGMA busy_timeout = 30000;"
             ".prompt ]"
             "EMACSQL;")) ; error message flush
     (when debug

Reply via email to