This commit is contained in:
undefined committed 2020-08-04 14:12:03 +08:00
1 parent 1f1d12ad73
commit 8389519249
4 files changed
+3 -15

No files matched your search

+1 -2
View File
@@ -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 });