This commit is contained in:
lightings 2023-07-20 19:42:27 +08:00
parent 71f27468f0
commit f58a8516ff
3 changed files with 4 additions and 4 deletions

View File

@ -46,9 +46,9 @@ app.configure('production|development', function(){
app.set('connectorConfig',
{
connector : pomelo.connectors.hybridconnector,
heartbeat : 3,
// heartbeat : 3,
useDict : true,
useProtobuf : true
useProtobuf : true,
});
app.enable('systemMonitor');
app.route('chat', chatRoute)

View File

@ -110,7 +110,7 @@ stick.onBody((msgId, data) => {
console.log(msg);
game.destroy();
}, 1*1000);
}, 60*1000);
});

View File

@ -153,7 +153,7 @@ class PomeloClient extends EventEmitter {
});
this.socket.on("error", (event) => {
this.emit("io-error", event);
console.error("socket error: ", event);
// console.error("socket error: ", event);
});
this.socket.on("close", (event) => {
this.emit("close", event);