Commit 4048025c authored by nanamicat's avatar nanamicat

fix

parent 2f6d0ea9
...@@ -39,7 +39,7 @@ export class Router { ...@@ -39,7 +39,7 @@ export class Router {
} }
onMessage(socket: Socket, data: Report) { onMessage(socket: Socket, data: Report) {
console.log(`recv: ${this.id} ${JSON.stringify(data)} this.seq:${this.seq}`); // console.log(`recv: ${this.id} ${JSON.stringify(data)} this.seq:${this.seq}`);
if (data.ack == this.seq + 1) { if (data.ack == this.seq + 1) {
this.time = Date.now(); this.time = Date.now();
if (data.peers) this.peers = data.peers; if (data.peers) this.peers = data.peers;
......
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