Support the customization of the timeout parameter when using a blocking connection pool with a redis cluster by VincentHokie · Pull Request #3724 · redis/redis-py (original) (raw)

Pull Request check-list

Description of change

The timeout parameter is not one of the allowed redis keys, despite it being used for BlockingConnectionPool uses.

Because we need to let the RedisCluster configure its connection pools, we need to pass in the parameters that eventually make it to the creation of the connection pool.

Whitelisting the timeout key does this, and a test has been added to validate this.