diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/start.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/start.ts b/api/src/start.ts index d799c190..717e1b8f 100644 --- a/api/src/start.ts +++ b/api/src/start.ts @@ -7,7 +7,7 @@ config(); import { FosscordServer } from "./Server"; import cluster from "cluster"; import os from "os"; -const cores = Number(process.env.threads) || os.cpus().length; +const cores = Number(process.env.THREADS) || os.cpus().length; if (cluster.isMaster && process.env.NODE_ENV == "production") { console.log(`Primary ${process.pid} is running`); |