mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update src/Server/KeeperTCPHandler.cpp
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
f9e0a202a7
commit
0374b3de3e
@ -175,7 +175,8 @@ struct SocketInterruptablePollWrapper
|
|||||||
}
|
}
|
||||||
while (rc < 0 && errno == POCO_EINTR);
|
while (rc < 0 && errno == POCO_EINTR);
|
||||||
|
|
||||||
if (rc >= 1) {
|
if (rc >= 1)
|
||||||
|
{
|
||||||
if (poll_buf[0].revents & POLLIN)
|
if (poll_buf[0].revents & POLLIN)
|
||||||
socket_ready = true;
|
socket_ready = true;
|
||||||
if (poll_buf[1].revents & POLLIN)
|
if (poll_buf[1].revents & POLLIN)
|
||||||
|
Loading…
Reference in New Issue
Block a user