-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Milestone
Description
Describe the bug
When using commands with blocking behaviour like BLPOP
quarkus returns an error when the timeout is equal to 0
which does not correspond to Redis behaviour.
The timeout argument is interpreted as a double value specifying the maximum number of seconds to block. A timeout of zero can be used to block indefinitely.
the issue is in this line of code
Expected behavior
Accept 0 as a valid timeout
Actual behavior
return an error
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response