Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

retry-limiter

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retry-limiter

Plugin for gemini and hermione to disable retries at runtime

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-94.12%
Maintainers
7
Weekly downloads
 
Created
Source

retry-limiter Build Status

Plugin for gemini and hermione to disable retries at runtime.

How it works?

Plugin sets retries threshold. If it’s exceeded test will or will not be retried based on the result of shouldRetry function in config.

For Gemini the rule is: if the test ends without result (nor equal:false nor equal:true) test will be retried if it’s attempts not exceeded.

For Hermione the rule is: no retries.

Install

$ npm install retry-limiter

Usage

Configuration

  • enabled (optional) Boolean – enable/disable the plugin; default true.
  • limit (optional) Number – number in range from 0 to 1; if retries count to a total number of tests exceed the specified limit all next tests will be run without retries; default 1.

Gemini

Add the plugin to your configuration file:

module.exports = {
    system: {
        plugins: {
            'retry-limiter/gemini': {
                limit: 0.3
            }
        }
    }
};

Hermione

module.exports = {
    plugins: {
        'retry-limiter/hermione': {
            limit: 0.3
        }
    }
};

Keywords

FAQs

Package last updated on 27 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc