mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
Little better [#CLICKHOUSE-2]
This commit is contained in:
parent
ac58f92a97
commit
3884146d92
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user