fix(config): remove deprecated env var
This commit is contained in:
@@ -31,7 +31,7 @@ if (IS_PROD && nconf.get('NEW_RELIC_ENABLED') === 'true') require('newrelic');
|
||||
|
||||
// Setup the cluster module
|
||||
if (CORES !== 0 && cluster.isMaster && (IS_DEV || IS_PROD)) {
|
||||
// Fork workers. If config.json has CORES=x, use that - otherwise, use all cpus-1 (production)
|
||||
// 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.fork();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user