summary refs log tree commit diff
path: root/bundle/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:18:45 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:18:45 +0200
commit403de3ef66f602aa31df8db95df3bf2f85852d19 (patch)
tree32149902bf2a8c1d32b73655c74208f633a5a251 /bundle/src
parentMerge branch 'pr/darkhpp/261-2' (diff)
downloadserver-403de3ef66f602aa31df8db95df3bf2f85852d19.tar.xz
:pencil: updated links to fosscord-server
Diffstat (limited to '')
-rw-r--r--bundle/src/start.ts3
1 files changed, 2 insertions, 1 deletions
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");