Hotfix interval for cleanup being milliseconds

pull/5/head
trivernis 5 years ago
parent b4aaba79ce
commit 76c0574c74

@ -71,7 +71,7 @@ namespace dataaccess {
globals.logger.debug(err.stack); globals.logger.debug(err.stack);
} }
await databaseCleanup(); await databaseCleanup();
setInterval(databaseCleanup, config.get<number>("database.cleanupInterval")); setInterval(databaseCleanup, config.get<number>("database.cleanupInterval") * 1000);
} }
/** /**

Loading…
Cancel
Save