mirror of https://gitee.com/bigwinds/arangodb
agency startup changed to bootstrapping
This commit is contained in:
parent
3bb2ab4444
commit
93995eba84
|
@ -113,8 +113,10 @@ void Inception::run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.poolComplete()) {
|
if (config.poolComplete()) {
|
||||||
_agent->startConstituent();
|
if(!cs) {
|
||||||
cs = true;
|
_agent->startConstituent();
|
||||||
|
cs = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1450,7 +1450,7 @@ function startInstanceAgency (instanceInfo, protocol, options,
|
||||||
fs.makeDirectoryRecursive(dir);
|
fs.makeDirectoryRecursive(dir);
|
||||||
|
|
||||||
instanceInfo.arangods.push(startArango(protocol, options, instanceArgs, rootDir, 'agent'));
|
instanceInfo.arangods.push(startArango(protocol, options, instanceArgs, rootDir, 'agent'));
|
||||||
print(instanceInfo);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
instanceInfo.endpoint = instanceInfo.arangods[instanceInfo.arangods.length - 1].endpoint;
|
instanceInfo.endpoint = instanceInfo.arangods[instanceInfo.arangods.length - 1].endpoint;
|
||||||
|
|
Loading…
Reference in New Issue