mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +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) {
|
||||
++counter;
|
||||
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 {
|
||||
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_stop(&m_loop);
|
||||
uv_async_send(&asy);
|
||||
|
|
Loading…
Reference in a new issue