From ac1d7fbbaf2f3e97f0988d9daa47576b7883b555 Mon Sep 17 00:00:00 2001 From: Thesourtimes Date: Wed, 10 Nov 2021 19:44:11 +0300 Subject: API versions 6 & 7 with minor logging additions --- bundle/src/start.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bundle/src') diff --git a/bundle/src/start.ts b/bundle/src/start.ts index 4445fde6..f683d3e3 100644 --- a/bundle/src/start.ts +++ b/bundle/src/start.ts @@ -38,11 +38,12 @@ if (cluster.isMaster) { })` )} -Current commit: ${ +Commit Hash: ${ commit !== null ? `${cyan(commit)} (${yellow(commit.slice(0, 7))})` : "Unknown (Git cannot be found)" } +Cores: ${cyan(cores)} `) ); @@ -65,7 +66,7 @@ Current commit: ${ let delay = process.env.DATABASE?.includes("://") ? 0 : i * 1000; setTimeout(() => { cluster.fork(); - console.log(`[Process] worker ${i} started.`); + console.log(`[Process] worker ${cyan(i)} started.`); }, delay); } -- cgit 1.5.1