mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 11:59:31 +00:00
Tweaked log levels
This commit is contained in:
parent
ed390e8b7b
commit
bb7720968f
1 changed files with 2 additions and 2 deletions
|
@ -430,10 +430,10 @@ void TCPServer<READ_BUF_SIZE, WRITE_BUF_SIZE>::shutdown_tcp()
|
||||||
if (elapsed_time >= (counter + 1) * 1000) {
|
if (elapsed_time >= (counter + 1) * 1000) {
|
||||||
++counter;
|
++counter;
|
||||||
if (counter < timeout_seconds) {
|
if (counter < timeout_seconds) {
|
||||||
LOGINFO(5, "waiting for event loop to stop for " << (timeout_seconds - counter) << " more seconds...");
|
LOGINFO(1, "waiting for event loop to stop for " << (timeout_seconds - counter) << " more seconds...");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOGWARN(5, "timed out while waiting for event loop to stop");
|
LOGWARN(1, "timed out while waiting for event loop to stop");
|
||||||
uv_async_init(&m_loop, &asy, nullptr);
|
uv_async_init(&m_loop, &asy, nullptr);
|
||||||
uv_stop(&m_loop);
|
uv_stop(&m_loop);
|
||||||
uv_async_send(&asy);
|
uv_async_send(&asy);
|
||||||
|
|
Loading…
Reference in a new issue