Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry

This commit is contained in:
Igor Nikonov 2022-10-27 22:02:17 +00:00
commit 2b56bc4394

View File

@ -128,7 +128,7 @@ namespace DB
int number_of_fds_ready = 0;
if (!readable_sockets.empty())
{
number_of_fds_ready = poll(readable_sockets.data(), readable_sockets.size(), timeout);
number_of_fds_ready = poll(readable_sockets.data(), readable_sockets.size(), static_cast<int>(timeout));
}
if (number_of_fds_ready > 0)