mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
separated DB initialization methods into sql_init
This commit is contained in:
@@ -19,8 +19,8 @@ async function runNotesWithLabel(runAttrValue) {
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(cls.wrap(() => runNotesWithLabel('backend_startup')), 10 * 1000);
|
||||
setTimeout(() => cls.wrap(() => runNotesWithLabel('backend_startup')), 10 * 1000);
|
||||
|
||||
setInterval(cls.wrap(() => runNotesWithLabel('hourly')), 3600 * 1000);
|
||||
setInterval(() => cls.wrap(() => runNotesWithLabel('hourly')), 3600 * 1000);
|
||||
|
||||
setInterval(cls.wrap(() => runNotesWithLabel('daily'), 24 * 3600 * 1000));
|
||||
setInterval(() => cls.wrap(() => runNotesWithLabel('daily'), 24 * 3600 * 1000));
|
||||
Reference in New Issue
Block a user