Skip to content

Retry is only checking for ECONN error #330

@potatoronin

Description

@potatoronin

https://github.com/flatiron/cradle/blob/master/lib/cradle.js#L217

The retry is only triggered for ECON (refused, reset). What about e.g. ESOCKETTIMEDOUT / ETIMEDOUT?

Or e.g. Intentional server error like 429 Too Many requests?

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