Skip to content

Possibility to turn off retries #36

@zuiderkwast

Description

@zuiderkwast

Turning off retries (not counting redirects) allows a project to have their own failure and retry handling, such as:

  1. Logging errors in custom ways
  2. Having custom back-off timer logic
  3. Tweaking the number of retries depending on the type of the error

Possible ways to turn off retries:

  • Add an optional number-of-retries parameter to each function
  • Add a number-of-retries option as an application configuration parameter ⭐

As indicated, I'm leaning towards the 2nd option, since it doesn't clutter the API as much as the 1st option, but there might be other aspects that I haven't thought of.

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