diff --git a/website/server/index.js b/website/server/index.js index 832a06cc74..923d42a24a 100644 --- a/website/server/index.js +++ b/website/server/index.js @@ -28,6 +28,10 @@ if (CORES !== 0 && cluster.isMaster && (IS_DEV || IS_PROD)) { // Fork workers. If config.json has WEB_CONCURRENCY=x, // use that - otherwise, use all cpus-1 (production) for (let i = 0; i < CORES; i += 1) { + cluster.setupMaster({ + exec: process.argv[1], + args: ['--perf-basic-prof'], + }); cluster.fork(); }