mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-01 01:41:08 -05:00
remove extra logging
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -115,8 +115,6 @@ function createNewNote(params) {
|
||||
mime: deriveMime(params.type, params.mime)
|
||||
}).save();
|
||||
|
||||
console.log(params);
|
||||
|
||||
note.setContent(params.content);
|
||||
|
||||
const branch = new Branch({
|
||||
|
||||
Reference in New Issue
Block a user