ser:增加空闲时休眠时间。
This commit is contained in:
parent
500ad6893c
commit
a2df59cc07
@ -97,7 +97,7 @@ void CTcpServer::handle_frame()
|
||||
}
|
||||
}
|
||||
if (!buf) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user