From fe0457cb8bf3f16f4c76be8724c48f5c1e21f7ea Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Wed, 18 Jan 2017 13:52:55 -0500 Subject: [PATCH] removed maxRetries default --- controller/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/search.js b/controller/search.js index eb324f10..d8d5c458 100644 --- a/controller/search.js +++ b/controller/search.js @@ -39,10 +39,10 @@ function setup( config, esclient, query ){ logger.debug( '[ES req]', cmd ); // options for retry - // default number of retries to 3 (seems reasonable) + // maxRetries is from the ES client which defaults to 3 // factor of 1 means that each retry attempt will esclient requestTimeout const operationOptions = { - retries: _.get(esclient, 'transport.maxRetries', 3), + retries: _.get(esclient, 'transport.maxRetries'), factor: 1, minTimeout: _.get(esclient, 'transport.requestTimeout') };