Open redlion99 opened 8 years ago
Thanks Could you post a gist to help me understand the use case?
Sometimes we need to create more than one connection for a single server. without the name property if we setup a pool like
RedisClientPool( RedisServer("localhost"), RedisServer("localhost"))
We just get one active connection in the pool, because the case class in the key of the connection map has the same hashcode.
if we have a name property it works like this:
RedisClientPool( RedisServer("localhost", name = "a"), RedisServer("localhost", name = "b"))
Add name property for RedisServer, so it's possible to add multi connection in the pool for a single server.