Commit 8cfd230a by 冷斌

debug

parent 40a78db5
...@@ -50,8 +50,8 @@ var io = socketio.listen(server,{ ...@@ -50,8 +50,8 @@ var io = socketio.listen(server,{
var sub = redis.createClient(config['REDISPORT'], config['REDISHOST'], { auth_pass: config['REDISPASS'] }); var sub = redis.createClient(config['REDISPORT'], config['REDISHOST'], { auth_pass: config['REDISPASS'] });
io.adapter(redisio({ pubClient: pub, subClient: sub })); */ io.adapter(redisio({ pubClient: pub, subClient: sub })); */
//setInterval(function(){ //setInterval(function(){
//global.gc(); //global.gc();
////console.log('GC done') ////console.log('GC done')
//}, 1000*30); //}, 1000*30);
io.on('connection', function(socket) { io.on('connection', function(socket) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment