plugins/retry/index.js

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function retryOnError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function retryOnError(fn, retries, computeDelay) {
    return (msg) => {
        const count = context.count(msg.properties.headers);

        if ('x-retry-limit' in msg.properties.headers) {
Severity: Minor
Found in plugins/retry/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status