Commit 55ebbadc authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 679a30ad
Pipeline #16080 passed with stages
in 36 seconds
......@@ -57,7 +57,7 @@ export class Router {
update(socket: Socket) {
if (!this.rinfo) return;
if (Date.now() - this.time > config.timeout) {
if (Date.now() - this.time > config.timeout * 1000) {
console.log(`router ${this.id} lost connection.`);
this.rinfo = undefined;
this.reset();
......
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