From fe7fe5c62ee5edb51e4814d046b0016779c34514 Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 9 Apr 2023 07:57:31 +0000 Subject: [PATCH] 1 --- server/wsproxy/app.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index dc8692c..5b7bb12 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -65,14 +65,10 @@ static void SavePerfLog() GCListener::Instance()->GetSentBytesNum() }); } - #if 1 App::Instance()->perf.max_run_delay_time = 0; App::Instance()->perf.max_timer_idle = 0; App::Instance()->perf.max_login_time = 0; App::Instance()->perf.max_join_time = 0; - #else - App::Instance()->perf = PerfMonitor(); - #endif } bool App::Init(int argc, char* argv[])