mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
Update index.ts
This commit is contained in:
parent
11b6d5afa5
commit
182f8d4d6c
|
@ -13,7 +13,7 @@ const { createBullBoard } = require("@bull-board/api");
|
|||
const { BullAdapter } = require("@bull-board/api/bullAdapter");
|
||||
const { ExpressAdapter } = require("@bull-board/express");
|
||||
|
||||
const numCPUs = os.cpus().length;
|
||||
const numCPUs = process.env.ENV === "local" ? 2 : os.cpus().length;
|
||||
console.log(`Number of CPUs: ${numCPUs} available`);
|
||||
|
||||
if (cluster.isMaster) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user