Skip to content

Retry if a request fails #42

@sneakypete81

Description

@sneakypete81

Very occasionally API requests to the hosted site fail:

Perhaps I should raise a photo/frontend issue? I never see this when running on a self-hosted server, so I can't look at the logs.

It would be nice if the Python library automatically retried these failed requests a couple of times. I'm not sure if we'd want to support this for all failures, or just a subset (eg. 500 errors).

If we do this, the number of retries to be configurable (or set to 0 to disable).

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