1
0
Fork 0

Call version instead of foxx status to save a v8 context

This commit is contained in:
Andreas Streichardt 2017-05-22 19:06:54 +02:00
parent 504427f800
commit d8dc3c85e7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }