📝 updated links to fosscord-server

This commit is contained in:
Flam3rboy
2021-08-13 13:18:45 +02:00
parent eebe4d14b2
commit 1cf781e254
8 changed files with 15 additions and 49 deletions

View File

@@ -6,7 +6,8 @@ import os from "os";
import osu from "node-os-utils";
import exitHook from "async-exit-hook";
const cores = Number(process.env.threads) || 1 || os.cpus().length;
// TODO: add tcp socket event transmission
const cores = 1 || Number(process.env.threads) || os.cpus().length;
if (cluster.isMaster && !process.env.masterStarted) {
const dbPath = path.join(__dirname, "..", "..", "db");