elasticsearch-client-retry
v0.1.0
Published
Elasticsearch client wrapper to handle No Living Connection errors
Downloads
7
Maintainers
Readme
ElasticSearch Client Retry wrapper
Travis Build
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