From 2eff43c5eef6e3a15ea312c1c285d7088dcd58ff Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 14 Jan 2020 21:18:24 +0800 Subject: [PATCH] 1 --- server/wsproxy/mastersvr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/server/wsproxy/mastersvr.cc b/server/wsproxy/mastersvr.cc index fe9c160..7ca0ad4 100644 --- a/server/wsproxy/mastersvr.cc +++ b/server/wsproxy/mastersvr.cc @@ -172,6 +172,7 @@ void MasterSvr::CheckAlive() } else { if (a8::XGetTickCount() - last_pong_tick > 60 * 10 * 1000) { last_pong_tick = a8::XGetTickCount(); + Close(); Open(); } else { ss::SS_Ping msg;