Skip to content

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

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');

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions