core: use cordis to manage app lifecycle

This commit is contained in:
undefined committed 2022-09-23 17:52:27 +08:00
1 parent d7ec26b772
commit 5b7067d77d
19 files changed
+307 -375

No files matched your search

+1 -1
View File
@@ -1,8 +1,8 @@
import yaml from 'js-yaml';
import { nanoid } from 'nanoid';
import Schema from 'schemastery';
import * as bus from 'hydrooj/src/service/bus';
import { Logger } from './logger';
import * as bus from './service/bus';
import { NestKeys } from './typeutils';
const defaultPath = process.env.CI ? '/tmp/file'