Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.
This repository was archived by the owner on May 5, 2021. It is now read-only.

retry_count = 0 or retry_delay = 0 not works, may be a bug? #24

@FelixHo

Description

@FelixHo

when i dont want it to retry then set retry_count =0, actually it will use the default value (retry 3 times) , may be it is a bug there (L68-L69). (return default if "is None" may fix it)
https://github.com/SPSCommerce/redlock-py/blob/master/redlock/__init__.py#L68-L69

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