mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
chore(cluster): @colegleason I'm disabling cluster for now, people are
reporting more issues on develop (VersioError & 503) than before. Can revert his commit in the near future, want to investigate a bit though
This commit is contained in:
parent
39f0961b75
commit
b0fc17bae5
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
var cluster = require("cluster");
|
||||
var nconf = require('nconf');
|
||||
|
||||
if (cluster.isMaster && (nconf.get('NODE_ENV') == 'development' || nconf.get('NODE_ENV') == 'production')) {
|
||||
if (false && cluster.isMaster && (nconf.get('NODE_ENV') == 'development' || nconf.get('NODE_ENV') == 'production')) {
|
||||
var numCPUs = require('os').cpus().length;
|
||||
|
||||
// Fork workers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue