mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: load monitor as plugin
This commit is contained in:
1 parent
ad72f156ac
commit
09f3900eec
3 files changed
+5
-6
No files matched your search
@@ -44,7 +44,7 @@ export async function apply(ctx: Context) {
|
||||
await ctx.root.start();
|
||||
require('../lib/index');
|
||||
await lib(pending, fail, ctx);
|
||||
require('../service/monitor');
|
||||
ctx.plugin(require('../service/monitor'));
|
||||
await service(pending, fail, ctx);
|
||||
await builtinModel(ctx);
|
||||
await model(pending, fail, ctx);
|
||||
|
||||
Reference in new issue
Block a user