From db4e3ed584a30266b4e38d3a915299279e4f64ac Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 29 Jan 2021 16:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=AD=E7=BA=BF=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/GeneralRoom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rooms/GeneralRoom.ts b/src/rooms/GeneralRoom.ts index c70a3a4..37908ff 100644 --- a/src/rooms/GeneralRoom.ts +++ b/src/rooms/GeneralRoom.ts @@ -137,7 +137,7 @@ export class GeneralRoom extends Room { if (consented) { throw new Error("consented leave"); } else { - await this.allowReconnection(client, 60); + await this.allowReconnection(client, 10 * 60); debugRoom(`${client.sessionId} 重连`); assistClient.active = false; this.state.players.get(client.sessionId).state = PlayerStateConst.PLAYER_NORMAL;