Skip to content

Commit 6c23bd4

Browse files
committed
data: Add sqlite_synchronous setting
1 parent c345417 commit 6c23bd4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-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,

0 commit comments

Comments
 (0)