1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-20 11:26:54 +00:00

testing monitor tools

This commit is contained in:
exane 2015-07-03 11:42:13 +02:00
parent d96562855d
commit c38e980375
2 changed files with 3 additions and 12 deletions

View File

@ -8,6 +8,8 @@
"express": "4.12.3",
"jquery-deferred": "^0.3.0",
"minimist": "1.1.0",
"monitor": "^0.6.10",
"monitor-dashboard": "^0.6.7",
"serve-static": "1.8.0",
"shortid": "^2.2.2",
"socket.io": "^1.3.5",

View File

@ -1,17 +1,6 @@
var argv = require('minimist')(process.argv.slice(2));
/*var SocketCluster = require('socketcluster').SocketCluster;*/
/*
var socketCluster = new SocketCluster({
workers: Number(argv.w) || 1,
stores: Number(argv.s) || 1,
port: Number(argv.p) || 16918,
appName: argv.n || null,
workerController: __dirname + '/worker.js',
storeController: __dirname + '/store.js',
socketChannelLimit: 100,
rebootWorkerOnCrash: argv['auto-reboot'] != false
});*/
require("monitor").start();
global.connections = require("./Connections")();