From d8dc3c85e77ebea43be954e17b6035ba561149c8 Mon Sep 17 00:00:00 2001 From: Andreas Streichardt Date: Mon, 22 May 2017 19:06:54 +0200 Subject: [PATCH] Call version instead of foxx status to save a v8 context --- js/server/modules/@arangodb/foxx/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/server/modules/@arangodb/foxx/manager.js b/js/server/modules/@arangodb/foxx/manager.js index 51dcddc526..9b562af5a4 100644 --- a/js/server/modules/@arangodb/foxx/manager.js +++ b/js/server/modules/@arangodb/foxx/manager.js @@ -109,7 +109,7 @@ function isClusterReadyForBusiness () { const coordIds = getPeerCoordinatorIds(); return parallelClusterRequests(function * () { for (const coordId of coordIds) { - yield [coordId, 'GET', '/_api/foxx/_local/status']; + yield [coordId, 'GET', '/_api/version']; } }()).every(response => response.statusCode === 200); }