Skip to content

Commit 31a59d4

Browse files
committed
data: Add sqlite_synchronous setting
1 parent bccb770 commit 31a59d4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

data/settings.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,6 +4178,15 @@ 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+
values_enum: ['default', 'off', 'normal', 'full', 'extra'],
4185+
default: 'default',
4186+
text: `
4187+
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.`
4188+
},
4189+
41814190
sqlite_readonly: {
41824191
tags: [ 'sql-sqlite' ],
41834192
values: setting_types.BOOLEAN,

0 commit comments

Comments
 (0)