elasticsearch-client-retry

    0.1.0 • Public • Published

    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

    Install

    npm i elasticsearch-client-retry

    DownloadsWeekly Downloads

    26

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • darthtanner