Skip to content

Commit a6582ca

Browse files
committed
data: Add sqlite_synchronous setting
1 parent 9ab3a3a commit a6582ca

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
@@ -4168,6 +4168,18 @@ Path to the sqlite database.`
41684168
Allows using write-ahead logging mode for database.`
41694169
},
41704170

4171+
sqlite_synchronous: {
4172+
tags: [ 'sql-sqlite' ],
4173+
values: setting_types.ENUM,
4174+
added: {
4175+
setting_sqlite_synchronous_added: false,
4176+
},
4177+
values_enum: ['default', 'off', 'normal', 'full', 'extra'],
4178+
default: 'default',
4179+
text: `
4180+
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.`
4181+
},
4182+
41714183
sqlite_readonly: {
41724184
tags: [ 'sql-sqlite' ],
41734185
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+
setting_sqlite_synchronous_added: '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)