浏览代码

Increase busy timeout

Cesar Rodas 4 月之前
父节点
当前提交
106ee131f4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crates/cdk-sqlite/src/common.rs

+ 1 - 0
crates/cdk-sqlite/src/common.rs

@@ -38,6 +38,7 @@ impl ResourceManager for SqliteConnectionManager {
 
         conn.execute_batch(
             r#"
+            pragma busy_timeout = 10000;
             pragma journal_mode = WAL;
             pragma synchronous = normal;
             pragma temp_store = memory;