Revert changes that should be on local only

This commit is contained in:
maciejhirsz
2018-07-21 08:31:25 +02:00
parent 42e7010697
commit c12374209d
2 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -237,11 +237,11 @@ export default class Node {
}
private updateLatency(now: Types.Timestamp) {
if (this.pingStart) {
console.error(`${this.name} timed out on ping message.`);
this.disconnect();
return;
}
// if (this.pingStart) {
// console.error(`${this.name} timed out on ping message.`);
// this.disconnect();
// return;
// }
this.pingStart = now;
this.socket.ping(noop);