Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis: Fix types of some options (backport #1372) #1401

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 20, 2024

The socket_keepalive option in RedisClient is not an integer but a boolean. Also the healthcheck_interval option can accept not only integers but also float values. This fixes the types to parse these options accordingly.

Note this change still keeps support for socket_keepalive=1 or socket_keepalive=0 , but would remove support for the other integer values such as 2 or -1.


This is an automatic backport of pull request #1372 done by Mergify.

The socket_keepalive option in RedisClient is not an integer but
a boolean. Also the healthcheck_interval option can accept not only
integers but also float values. This fixes the types to parse these
options accordingly.

Note this change still keeps support for socket_keepalive=1 or
socket_keepalive=0 , but would remove support for the other integer
values such as 2 or -1.

(cherry picked from commit 2b4f38b)
@tobias-urdin tobias-urdin merged commit 4a4c4fc into stable/4.6 Aug 20, 2024
23 of 25 checks passed
@mergify mergify bot deleted the mergify/bp/stable/4.6/pr-1372 branch August 20, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants