added back num cpus

v1.18.x
barisusakli 11 years ago
parent fdafb72c34
commit 20b951b9d9

@ -106,7 +106,7 @@ Loader.init = function() {
silent: true silent: true
}); });
for(var x=0;x<4;x++) { for(var x=0;x<numCPUs;x++) {
// Only the first worker sets up templates/sounds/jobs/etc // Only the first worker sets up templates/sounds/jobs/etc
cluster.fork({ cluster_setup: x === 0 }); cluster.fork({ cluster_setup: x === 0 });
} }

Loading…
Cancel
Save