mirror of https://gitee.com/bigwinds/arangodb
fix slow queries
This commit is contained in:
parent
fbb14ceffc
commit
8e51e3ba50
|
@ -528,6 +528,7 @@ void Constituent::run() {
|
||||||
// single instance
|
// single instance
|
||||||
_id = _agent->config().id();
|
_id = _agent->config().id();
|
||||||
|
|
||||||
|
{
|
||||||
TRI_ASSERT(_vocbase != nullptr);
|
TRI_ASSERT(_vocbase != nullptr);
|
||||||
auto bindVars = std::make_shared<VPackBuilder>();
|
auto bindVars = std::make_shared<VPackBuilder>();
|
||||||
bindVars->openObject();
|
bindVars->openObject();
|
||||||
|
@ -558,6 +559,7 @@ void Constituent::run() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::string> act = _agent->config().active();
|
std::vector<std::string> act = _agent->config().active();
|
||||||
while (
|
while (
|
||||||
|
|
Loading…
Reference in New Issue