1
0
Fork 0

agency startup changed to bootstrapping

This commit is contained in:
Kaveh Vahedipour 2016-08-19 10:45:52 +02:00
parent 3bb2ab4444
commit 93995eba84
2 changed files with 5 additions and 3 deletions

View File

@ -113,8 +113,10 @@ void Inception::run() {
}
if (config.poolComplete()) {
_agent->startConstituent();
cs = true;
if(!cs) {
_agent->startConstituent();
cs = true;
}
}
}

View File

@ -1450,7 +1450,7 @@ function startInstanceAgency (instanceInfo, protocol, options,
fs.makeDirectoryRecursive(dir);
instanceInfo.arangods.push(startArango(protocol, options, instanceArgs, rootDir, 'agent'));
print(instanceInfo);
}
instanceInfo.endpoint = instanceInfo.arangods[instanceInfo.arangods.length - 1].endpoint;