mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: add jsc loader
This commit is contained in:
1 parent
5d27bce80e
commit
6a289f788d
5 files changed
+48
-39
No files matched your search
@@ -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 () => {
|
||||
|
||||
Reference in new issue
Block a user