Commit 1483567c authored by knowledge4igor's avatar knowledge4igor

Tiny change in processRequestQueue to make code better

parent 46f4ba58
...@@ -892,10 +892,8 @@ Client::processRequestQueue() { ...@@ -892,10 +892,8 @@ Client::processRequestQueue() {
Guard guard(queuesLock); Guard guard(queuesLock);
for (auto& queues: requestsQueues) { for (auto& queues: requestsQueues) {
const auto& domain = queues.first;
auto& queue = queues.second;
for (;;) { for (;;) {
const auto& domain = queues.first;
auto conn = pool.pickConnection(domain); auto conn = pool.pickConnection(domain);
if (!conn) if (!conn)
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment