1
0
Fork 0

fix slow queries

This commit is contained in:
jsteemann 2017-03-22 11:20:07 +01:00
parent fbb14ceffc
commit 8e51e3ba50
1 changed files with 25 additions and 23 deletions

View File

@ -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 (