Skip to content

maximumDelay for exponential retry policy always throws an error (v8.x.x) #107

@jkester1986

Description

@jkester1986

The code is:

       else if (this.maximumDelay)
                    throw new Error('Maximum delay can not be set more than 150 seconds for retry');

which means if any maximumDelay is set, then the error will throw

suggested fix:

       else if (this.maximumDelay > 150)
                    throw new Error('Maximum delay can not be set more than 150 seconds for retry');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions