From 1cf781e254caa876a2a86bcd355a49ed71babc27 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 13 Aug 2021 13:18:45 +0200 Subject: :pencil: updated links to fosscord-server --- bundle/src/start.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bundle/src') diff --git a/bundle/src/start.ts b/bundle/src/start.ts index 2ae2ce87..2bfb0069 100644 --- a/bundle/src/start.ts +++ b/bundle/src/start.ts @@ -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"); -- cgit 1.4.1