Skip to content

Default retry policy for transient failures #77

Description

@sam-goodwin

E.g.

Effect.retry({
    while: (e) =>
        e._tag === "InternalFailure" ||
        e._tag === "RequestExpired" ||
        e._tag === "ServiceException" ||
        e._tag === "ServiceUnavailable" ||
        e._tag === "ThrottlingException" ||
        e._tag === "TooManyRequestsException",
    schedule: Schedule.exponential(100),
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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