mirror of https://gitee.com/bigwinds/arangodb
Call version instead of foxx status to save a v8 context
This commit is contained in:
parent
504427f800
commit
d8dc3c85e7
|
@ -109,7 +109,7 @@ function isClusterReadyForBusiness () {
|
||||||
const coordIds = getPeerCoordinatorIds();
|
const coordIds = getPeerCoordinatorIds();
|
||||||
return parallelClusterRequests(function * () {
|
return parallelClusterRequests(function * () {
|
||||||
for (const coordId of coordIds) {
|
for (const coordId of coordIds) {
|
||||||
yield [coordId, 'GET', '/_api/foxx/_local/status'];
|
yield [coordId, 'GET', '/_api/version'];
|
||||||
}
|
}
|
||||||
}()).every(response => response.statusCode === 200);
|
}()).every(response => response.statusCode === 200);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue