⬆️ npm i @fosscord/server-util@1.3.5

This commit is contained in:
Flam3rboy
2021-05-26 13:31:06 +02:00
parent 26d7ed8368
commit c2eecb9500
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import cluster from "cluster";
import os from "os";
const cores = Number(process.env.threads) || os.cpus().length;
if (cluster.isMaster && process.env.production == "true") {
if (cluster.isMaster && process.env.NODE_ENV == "production") {
console.log(`Primary ${process.pid} is running`);
// Fork workers.