Skip to content

The health_check_interval configuration is used to perform a health check before a command is executed? #2991

Open
@king-john

Description

@king-john

Thanks for wanting to report an issue you've found in redis-py. Please delete this text and fill in the template below.
It is of course not always possible to reduce your code to a small test case, but it's highly appreciated to have as much data as possible. Thank you!

Version: What redis-py and what redis version is the issue happening on?
4.6.0
Platform: What platform / version? (For example Python 3.5.1 on Windows 7 / Ubuntu 15.10 / Azure)
python3.9.11
Description: Description of your issue, stack traces from errors and code that reproduces the issue
I found that the check_health method for the connection is only executed when the send_packed_command method is executed.
image
Is there a keepalive configuration for idle connections?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions