From 76c0574c74d59e178c570cc7f7465f1636cda551 Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 24 Jan 2020 15:08:41 +0100 Subject: [PATCH] Hotfix interval for cleanup being milliseconds --- src/lib/dataAccess.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**