diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:18:45 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:18:45 +0200 |
commit | 1cf781e254caa876a2a86bcd355a49ed71babc27 (patch) | |
tree | f836f0a5f6ea26dedfd1247f219b8dc97344897b /bundle/src | |
parent | Merge branch 'pr/darkhpp/261-2' (diff) | |
download | server-1cf781e254caa876a2a86bcd355a49ed71babc27.tar.xz |
:pencil: updated links to fosscord-server
Diffstat (limited to 'bundle/src')
-rw-r--r-- | bundle/src/start.ts | 3 |
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"); |