This commit is contained in:
azw 2023-04-09 07:57:31 +00:00
parent ea3d340cd1
commit fe7fe5c62e

View File

@ -65,14 +65,10 @@ static void SavePerfLog()
GCListener::Instance()->GetSentBytesNum() GCListener::Instance()->GetSentBytesNum()
}); });
} }
#if 1
App::Instance()->perf.max_run_delay_time = 0; App::Instance()->perf.max_run_delay_time = 0;
App::Instance()->perf.max_timer_idle = 0; App::Instance()->perf.max_timer_idle = 0;
App::Instance()->perf.max_login_time = 0; App::Instance()->perf.max_login_time = 0;
App::Instance()->perf.max_join_time = 0; App::Instance()->perf.max_join_time = 0;
#else
App::Instance()->perf = PerfMonitor();
#endif
} }
bool App::Init(int argc, char* argv[]) bool App::Init(int argc, char* argv[])