removed getUserSockets for chat

emit to users rooms directly
This commit is contained in:
barisusakli
2014-09-03 17:22:29 -04:00
parent 999da9183d
commit fdafb72c34
2 changed files with 10 additions and 16 deletions

View File

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