mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: add RecordDetailHandler.postCancel
judge: allow judge without config
This commit is contained in:
1 parent
e3266ca9e6
commit
ee62870e70
8 files changed
+31
-13
No files matched your search
@@ -228,8 +228,8 @@ export async function load() {
|
||||
await entry({ entry: argv.entry as string });
|
||||
logger.success(`Worker ${process.pid} Started as ${argv.entry}`);
|
||||
} else {
|
||||
if (argv.firstWorker) cluster.isFirstWorker = true;
|
||||
else cluster.isFirstWorker = false;
|
||||
if (argv.firstWorker) global.Hydro.isFirstWorker = true;
|
||||
else global.Hydro.isFirstWorker = false;
|
||||
logger.info(`Worker ${process.pid} Starting`);
|
||||
await entry({ entry: 'worker' });
|
||||
logger.success(`Worker ${process.pid} Started`);
|
||||
|
||||
Reference in new issue
Block a user