Mercurial > prosody-hg
changeset 13969:1b300c5a79d7
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 30 Sep 2025 18:20:17 +0200 |
| parents | 52e214142ac2 (current diff) b7714c28442f (diff) |
| children | 75a3ac3ad198 |
| files | plugins/mod_storage_sql.lua |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Mon Aug 19 00:15:40 2024 +0200 +++ b/plugins/mod_storage_sql.lua Tue Sep 30 18:20:17 2025 +0200 @@ -995,6 +995,8 @@ engine:execute("PRAGMA fullfsync=1;") end + engine:execute(("PRAGMA busy_timeout=%d;"):format(module:get_option_integer("sqlite_busy_timeout_ms", 1000, 0))); + for row in engine:select[[PRAGMA journal_mode;]] do journal_mode = row[1]; end
