Browse Source

removed used variable

pull/782/head
Stephen Hess 8 years ago
parent
commit
995b6109e3
  1. 3
      controller/search.js

3
controller/search.js

@ -47,9 +47,6 @@ function setup( apiConfig, esclient, query ){
minTimeout: _.get(esclient, 'transport.requestTimeout') minTimeout: _.get(esclient, 'transport.requestTimeout')
}; };
// prepend the config timeout since the total number of attempts is maxRetries+1
const timeouts = [operationOptions.minTimeout].concat(retry.timeouts(operationOptions));
// setup a new operation // setup a new operation
const operation = retry.operation(operationOptions); const operation = retry.operation(operationOptions);

Loading…
Cancel
Save