Skip to content

[Feature Request] Support floating point timeouts #113

@darintay

Description

@darintay

Would be nice to be able to set timeout <1s, especially for tests which otherwise have to wait 1s each time.

I see a related 2015 issue - #16 - but since then Redis blpop added support for float timeouts (2020):

https://redis.io/commands/blpop/

Starting with Redis version 6.0.0: timeout is interpreted as a double instead of an integer.

I wonder if all that is required is to stop casting timeout to an int?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions