mirror of
https://github.com/exane/not-gwent-online
synced 2024-11-27 03:46:54 +00:00
testing monitor tools
This commit is contained in:
parent
d96562855d
commit
c38e980375
@ -8,6 +8,8 @@
|
|||||||
"express": "4.12.3",
|
"express": "4.12.3",
|
||||||
"jquery-deferred": "^0.3.0",
|
"jquery-deferred": "^0.3.0",
|
||||||
"minimist": "1.1.0",
|
"minimist": "1.1.0",
|
||||||
|
"monitor": "^0.6.10",
|
||||||
|
"monitor-dashboard": "^0.6.7",
|
||||||
"serve-static": "1.8.0",
|
"serve-static": "1.8.0",
|
||||||
"shortid": "^2.2.2",
|
"shortid": "^2.2.2",
|
||||||
"socket.io": "^1.3.5",
|
"socket.io": "^1.3.5",
|
||||||
|
@ -1,17 +1,6 @@
|
|||||||
var argv = require('minimist')(process.argv.slice(2));
|
var argv = require('minimist')(process.argv.slice(2));
|
||||||
/*var SocketCluster = require('socketcluster').SocketCluster;*/
|
|
||||||
|
|
||||||
/*
|
require("monitor").start();
|
||||||
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
|
|
||||||
});*/
|
|
||||||
|
|
||||||
global.connections = require("./Connections")();
|
global.connections = require("./Connections")();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user