This commit is contained in:
zadam
2019-11-30 11:36:36 +01:00
parent 995ebbf577
commit 67663fba50
2 changed files with 6 additions and 4 deletions

View File

@@ -173,9 +173,11 @@ async function isDbUpToDate() {
}
async function dbInitialized() {
await optionService.setOption('initialized', 'true');
if (!await isDbInitialized()) {
await optionService.setOption('initialized', 'true');
await initDbConnection();
await initDbConnection();
}
}
dbReady.then(async () => {