mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 13:07:34 +00:00
📝 updated links to fosscord-server
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user