mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: diag: add time to output
This commit is contained in:
3 files changed
+6
-1
No files matched your search
@@ -94,6 +94,7 @@ export async function apply(ctx: Context) {
|
||||
await ctx.parallel('app/listen');
|
||||
logger.success('Server started');
|
||||
process.send?.('ready');
|
||||
process.title = `HydroOJ (v${global.Hydro.version.hydrooj}, worker ${process.env.NODE_APP_INSTANCE}${process.env.DEV ? ', debug' : ''})`;
|
||||
await ctx.parallel('app/ready');
|
||||
});
|
||||
return { fail };
|
||||
|
||||
Reference in new issue
Block a user