Little better [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2018-04-06 08:44:17 +03:00
parent ac58f92a97
commit 3884146d92

View File

@ -714,6 +714,9 @@ void ZooKeeper::sendThread()
RequestInfo info;
if (requests_queue.tryPop(info, max_wait))
{
if (expired)
break;
{
CurrentMetrics::add(CurrentMetrics::ZooKeeperRequest);
std::lock_guard lock(operations_mutex);