diff --git a/src/lib/dataAccess.ts b/src/lib/dataAccess.ts index 399a366..ee880b7 100644 --- a/src/lib/dataAccess.ts +++ b/src/lib/dataAccess.ts @@ -71,7 +71,7 @@ namespace dataaccess { globals.logger.debug(err.stack); } await databaseCleanup(); - setInterval(databaseCleanup, config.get("database.cleanupInterval")); + setInterval(databaseCleanup, config.get("database.cleanupInterval") * 1000); } /**