public RedisPooledSocket(SocketPool pool) { _pool = pool; }
/// <summary> /// Create a new connection pool /// </summary> /// <param name="endPoint">Redis server</param> /// <param name="max">Maximum simultaneous connections</param> public RedisConnectionPool(EndPoint endPoint, int max) { _pool = new SocketPool(endPoint, max); _endPoint = endPoint; }