Skip to content

Potential risk that blocking calls never return #132

Closed
@pfk84

Description

@pfk84

I've noticed that when executing a BLPOP and the Redis-Server "goes away" without closing the socket (very rare occasions, especially on production) the promise never returns making the whole connection unusable. If the server closes the connection, all is fine.

I know the library has by design no special handling for any Redis command but maybe in this case internally adding React\Promise\Timer\timeout would make sense, at least that's how I handle these cases now...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions