minor capitulation
This commit is contained in:
parent
e83b50da8a
commit
4e795a1415
@ -81,7 +81,7 @@ Cores: ${cyan(cores)}
|
|||||||
cluster.on("exit", (worker: any, code: any, signal: any) => {
|
cluster.on("exit", (worker: any, code: any, signal: any) => {
|
||||||
console.log(
|
console.log(
|
||||||
`[Worker] ${red(
|
`[Worker] ${red(
|
||||||
`died with pid: ${worker.process.pid} , restarting ...`
|
`died with PID: ${worker.process.pid} , restarting ...`
|
||||||
)}`
|
)}`
|
||||||
);
|
);
|
||||||
cluster.fork();
|
cluster.fork();
|
||||||
|
@ -6,7 +6,7 @@ export function initStats() {
|
|||||||
console.log(`[Path] running in ${__dirname}`);
|
console.log(`[Path] running in ${__dirname}`);
|
||||||
console.log(`[CPU] ${osu.cpu.model()} Cores x${osu.cpu.count()}`);
|
console.log(`[CPU] ${osu.cpu.model()} Cores x${osu.cpu.count()}`);
|
||||||
console.log(`[System] ${os.platform()} ${os.arch()}`);
|
console.log(`[System] ${os.platform()} ${os.arch()}`);
|
||||||
console.log(`[Process] running with pid: ${process.pid}`);
|
console.log(`[Process] running with PID: ${process.pid}`);
|
||||||
if (process.getuid && process.getuid() === 0) {
|
if (process.getuid && process.getuid() === 0) {
|
||||||
console.warn(
|
console.warn(
|
||||||
red(
|
red(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user