summary refs log tree commit diff
path: root/bundle/src
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-11-10 19:36:51 +0100
committerGitHub <noreply@github.com>2021-11-10 19:36:51 +0100
commite6c6066a4c203601706545ac0a3179514e989d21 (patch)
treef6c80aada229c59269c9886c4739b0f0fdcf4cf1 /bundle/src
parentMerge pull request #476 from Thesourtimes/master (diff)
parentAPI versions 6 & 7 with minor logging additions (diff)
downloadserver-e6c6066a4c203601706545ac0a3179514e989d21.tar.xz
Merge pull request #501 from Thesourtimes/master
Diffstat (limited to 'bundle/src')
-rw-r--r--bundle/src/start.ts5
1 files changed, 3 insertions, 2 deletions
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); }