Skip to content

Commit f066c6b

Browse files
committed
Added support for sqlite rust backend.
1 parent 4c63449 commit f066c6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node/utils/Settings.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,11 +941,12 @@ exports.reloadSettings = () => {
941941
logger.warn(`${dirtyWarning} File location: ${exports.dbSettings.filename}`);
942942
}
943943

944-
if (exports.dbType === 'rustydb') {
944+
if (exports.dbType === 'rustydb' || exports.dbType === "sqlite") {
945945
exports.dbSettings.filename = absolutePaths.makeAbsolute(exports.dbSettings.filename);
946946
logger.warn(`File location: ${exports.dbSettings.filename}`);
947947
}
948948

949+
949950
if (exports.ip === '') {
950951
// using Unix socket for connectivity
951952
logger.warn('The settings file contains an empty string ("") for the "ip" parameter. The ' +

0 commit comments

Comments
 (0)