日志间隔改为30秒
This commit is contained in:
parent
4120ac569f
commit
2e30f0dab5
@ -159,6 +159,6 @@ long long GGListener::GetSentBytesNum()
|
||||
|
||||
void GGListener::OnListenError(int errorid)
|
||||
{
|
||||
a8::XPrintf("GGListeneron_error %d %d", {type, errorid});
|
||||
a8::XPrintf("GGListeneron_error %d", {errorid});
|
||||
App::Instance()->terminated = true;
|
||||
}
|
||||
|
@ -214,10 +214,7 @@ bool App::Init(int argc, char* argv[])
|
||||
|
||||
a8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d", {instance_id, getpid()});
|
||||
{
|
||||
int perf_log_time = 1000 * 60 * 5;
|
||||
if (getenv("is_dev_env")) {
|
||||
perf_log_time = 1000 * 10;
|
||||
}
|
||||
int perf_log_time = 1000 * 30;
|
||||
a8::Timer::Instance()->AddRepeatTimer(perf_log_time,
|
||||
a8::XParams(),
|
||||
[] (const a8::XParams& param)
|
||||
|
Loading…
x
Reference in New Issue
Block a user