Skip to content

Retry exponential backoff is not properly computed #13494

@peveuve

Description

@peveuve

Issue Creation Checklist

Bug Description

The dependency retry-as-promised had a bug when computing exponential backoff for retried queries.
It has been fixed with version 4.0.0.
Could you please update the dependency version in package.json?

What do you expect to happen?

Failed queries will be retried after a correct time.

What is actually happening?

The time between retries is way too long.

Environment

  • Sequelize version: 6.6.5
  • Node.js version: 14.16.0

Bug Report Checklist

How does this problem relate to dialects?

  • I think this problem happens regardless of the dialect.
  • I think this problem happens only for the following dialect(s):
  • I don't know, I was using PUT-YOUR-DIALECT-HERE, with connector library version XXX and database version XXX

Would you be willing to resolve this issue by submitting a Pull Request?

  • Yes, I have the time and I know how to start.
  • Yes, I have the time but I don't know how to start, I would need guidance.
  • No, I don't have the time, although I believe I could do it if I had the time...
  • No, I don't have the time and I wouldn't even know how to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions