mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-28 10:57:58 +00:00
Revert changes that should be on local only
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user