0.1.0 • Published 8 years ago

elasticsearch-client-retry v0.1.0

Weekly downloads
13
License
MIT
Repository
github
Last release
8 years ago

ElasticSearch Client Retry wrapper

Travis Build Build Status

A small utility for handling ElasticSearch No living connections issues. elasticsearch-client-retry does not have any dependencies

Installation

  npm install elasticsearch-client-retry --save

Usage

let es = require('elasticsearch');
let config = {};
let retryCount = 10;
let esRetry = require('elasticsearch-client-retry');
let client = esRetry(es, config, retryCount);

Use client as normal

Tests

  npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

  • David Tanner

Release History

  • 0.1.0 Initial release