Skip to content

sleep-retry-logic #620

@tobixen

Description

@tobixen

Some servers sometimes have transient errors.

My idea is to make it possible for the client to sleep and retry on transient errors. This should be a configurable opt-in feature.

It goes in under the "features"-section in the server configuration. Perhaps this "feature" can be called "high-availability" with type "server-peculiarity". Or perhaps it should be more explicit, "retry-on-failure" of type "client-feature". Extra configuration parameters should indicate the sleep before the first retry (one may want to keep it short - perhaps all that is needed is a retry, without any sleep), the sleep between subsequent retries, the max number of retries. May consider supporting growing sleep intervals too.

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