Skip to content

Allow to custom timeout for patroni cluster api #107

@wsxyeah

Description

@wsxyeah

When the patroni node down, patroni cluster api may not responding tcp RST, while leaving the http request hanging.

Setting a custom timeout parameter would be ok for this case.

const HTTP_TIMEOUT: Duration = Duration::from_secs(5);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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