⬆️ 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

BIN
package-lock.json generated

Binary file not shown.

View File

@ -29,7 +29,7 @@
},
"homepage": "https://github.com/fosscord/fosscord-api#readme",
"dependencies": {
"@fosscord/server-util": "^1.3.3",
"@fosscord/server-util": "^1.3.5",
"@types/jest": "^26.0.22",
"@types/json-schema": "^7.0.7",
"ajv": "^8.4.0",

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.