mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
fix(config): remove deprecated env var
This commit is contained in:
parent
f1110e0f89
commit
0d3aba950a
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"PORT":3000,
|
||||
"ENABLE_CONSOLE_LOGS_IN_PROD":"false",
|
||||
"IP":"0.0.0.0",
|
||||
"CORES":1,
|
||||
"WEB_CONCURRENCY":1,
|
||||
"BASE_URL":"http://localhost:3000",
|
||||
"FACEBOOK_KEY":"123456789012345",
|
||||
"FACEBOOK_SECRET":"aaaabbbbccccddddeeeeffff00001111",
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue