mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +03:00
Increase database timeout to 60 seconds
This commit is contained in:
@@ -213,7 +213,7 @@ impl Sql {
|
|||||||
PRAGMA temp_store=memory; -- Avoid SQLITE_IOERR_GETTEMPPATH errors on Android
|
PRAGMA temp_store=memory; -- Avoid SQLITE_IOERR_GETTEMPPATH errors on Android
|
||||||
PRAGMA foreign_keys=on;
|
PRAGMA foreign_keys=on;
|
||||||
",
|
",
|
||||||
Duration::from_secs(10).as_millis()
|
Duration::from_secs(60).as_millis()
|
||||||
))?;
|
))?;
|
||||||
c.pragma_update(None, "key", passphrase.clone())?;
|
c.pragma_update(None, "key", passphrase.clone())?;
|
||||||
// Try to enable auto_vacuum. This will only be
|
// Try to enable auto_vacuum. This will only be
|
||||||
|
|||||||
Reference in New Issue
Block a user