diff options
Diffstat (limited to 'bundle/src/start.ts')
-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"); |