Open
Description
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.
Is there a keepalive configuration for idle connections?