Commit 871cc795 authored by 李腾's avatar 李腾

fix: 修改消息提醒保持连接heart beat时间

parent fd1f83ba
...@@ -131,7 +131,7 @@ class Socket extends EventEmitter { ...@@ -131,7 +131,7 @@ class Socket extends EventEmitter {
console.log('ws: sent heart beat', new Date().getTime()); console.log('ws: sent heart beat', new Date().getTime());
this.sendMessage('HeartBeat'); this.sendMessage('HeartBeat');
this.heartBeat(time); this.heartBeat(time);
}, time || 180000); }, time || 45000);
} }
} }
......
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