Grokzen/redis-py-cluster

Very frequent new SSLClusterConnection instance

alseambusher opened this issue · 0 comments

Hi!

I see this log statement very frequently although I am using a single RedisCluster object:

Createing new SSLClusterConnection instance

Everything works fine functionally but it is loading the redis cluster with too many connection requests. Is it possible to control how often it creates a new instance?

Here is how I am creating the object:

redis = RedisCluster(host=host,
             port=port,
             password=password,
             skip_full_coverage_check=True,
             ssl=True,
             socket_timeout=2)