Grokzen / redis-py-cluster

Python cluster client for the official redis cluster. Redis 3.0+.
https://redis-py-cluster.readthedocs.io/
MIT License
1.1k stars 316 forks source link

Make _create_connectioins a property that would dynamically calculate from each node #474

Closed iceihehe closed 2 years ago

iceihehe commented 2 years ago

Related to #464 , I make this variable into a property on this class that would dynamically calculate this by adding up the connection count from the existing variable and just return that in the same way as redis-py does.