remove extra logging

This commit is contained in:
zadam
2021-09-30 22:26:56 +02:00
parent 2c450fc72d
commit 8c2a5d19f2
5 changed files with 25 additions and 27 deletions

View File

@@ -624,8 +624,10 @@ class ConsistencyChecks {
ws.sendMessageToAllClients({type: 'consistency-checks-failed'});
} else {
log.info(`All consistency checks passed (took ${elapsedTimeMs}ms)` +
(this.fixedIssues ? " after some fixes" : "with no errors detected"));
log.info(`All consistency checks passed ` +
(this.fixedIssues ? "after some fixes" : "with no errors detected") +
` (took ${elapsedTimeMs}ms)`
);
}
}
}
@@ -666,7 +668,7 @@ sqlInit.dbReady.then(() => {
setInterval(cls.wrap(runPeriodicChecks), 60 * 60 * 1000);
// kickoff checks soon after startup (to not block the initial load)
setTimeout(cls.wrap(runPeriodicChecks), 20 * 1000);
setTimeout(cls.wrap(runPeriodicChecks), 10 * 1000);
});
module.exports = {