core: add jsc loader

This commit is contained in:
undefined committed 2022-02-28 14:21:44 +08:00
1 parent 5d27bce80e
commit 6a289f788d
5 files changed
+48 -39

No files matched your search

+1
View File
@@ -146,6 +146,7 @@ Worker.addHandler('task.daily', async () => {
if (global.Hydro.model.system.get('server.checkUpdate')) {
await global.Hydro.script.checkUpdate?.run({}, new Logger('task/checkUpdate').debug);
}
await bus.serial('task/daily');
});
bus.on('domain/delete', (domainId) => coll.deleteMany({ domainId }));
bus.once('app/started', async () => {