Skip to content

Exception Throwing in Redis Connection Problem #1040

@tarikalim

Description

@tarikalim

When I used Redis as a backend, I encountered a problem: whenever the Redis connection was broken and I called a function using decorators ( it is happening when I use cached_stampede since redlock doesn't raise redis connection errors), the decorator would throw an exception, preventing the function from executing. Perhaps an additional option could be to have the function wrapped by the decorator run directly in case of a connection error.

If I understand problem correctly I can try to implement this feature.

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