mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
bug fix
This commit is contained in:
1 parent
1f1d12ad73
commit
8389519249
4 files changed
+3
-15
No files matched your search
@@ -6,7 +6,7 @@ import {
|
||||
} from './common';
|
||||
|
||||
export async function load() {
|
||||
let pending = global.addons;
|
||||
const pending = global.addons;
|
||||
const fail = [];
|
||||
const active = [];
|
||||
require('../lib/i18n');
|
||||
@@ -49,7 +49,6 @@ export async function load() {
|
||||
for (const i of builtinScript) require(`../script/${i}`);
|
||||
await script(pending, fail, active);
|
||||
for (const postInit of global.Hydro.postInit) await postInit();
|
||||
pending = [];
|
||||
await server.start();
|
||||
setInterval(() => {
|
||||
process.send({ event: 'stat', count: global.Hydro.stat.reqCount });
|
||||
|
||||
Reference in new issue
Block a user