Skip to content

Commit 3c876a8

Browse files
committed
data: Add sqlite_synchronous setting
1 parent c345417 commit 3c876a8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

data/settings.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,6 +4178,18 @@ Path to the sqlite database.`
41784178
Allows using write-ahead logging mode for database.`
41794179
},
41804180

4181+
sqlite_synchronous: {
4182+
tags: [ 'sql-sqlite' ],
4183+
values: setting_types.ENUM,
4184+
added: {
4185+
setting_sqlite_synchronous_added: false,
4186+
},
4187+
values_enum: ['default', 'off', 'normal', 'full', 'extra'],
4188+
default: 'default',
4189+
text: `
4190+
Sets the synchronization mode for SQlite database. See https://sqlite.org/pragma.html#pragma_synchronous for full explanation of values. This has no effect if database is opened in read-only mode. Setting special value \`default\` elides pragma call.`
4191+
},
4192+
41814193
sqlite_readonly: {
41824194
tags: [ 'sql-sqlite' ],
41834195
values: setting_types.BOOLEAN,

data/updates.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export const updates = {
7878
sieve_ext_notify: '2.4.0',
7979
sieve_vnd_duplicate: '2.4.0',
8080
sqlite_filename: '2.4.0',
81+
sqlite_synchronous: '2.4.3',
8182
ssl_sni_settings_reload_added: '2.4.0',
8283
weak_password_schemes: '2.4.0',
8384
variables_auth_variables_protocol: '2.4.0',

0 commit comments

Comments
 (0)