mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Fix build
This commit is contained in:
parent
2979feb23f
commit
90afc9ce2f
@ -362,7 +362,7 @@ int HedgedConnections::getReadyFileDescriptor(AsyncCallback async_callback)
|
||||
epoll_event event;
|
||||
event.data.fd = -1;
|
||||
size_t events_count = 0;
|
||||
bool blocking = async_callback ? false : true;
|
||||
bool blocking = !static_cast<bool>(async_callback);
|
||||
while (events_count == 0)
|
||||
{
|
||||
events_count = epoll.getManyReady(1, &event, blocking);
|
||||
|
Loading…
Reference in New Issue
Block a user