private static void CreateManager() { RedisClientManagerConfig redisClientManagerConfig = new RedisClientManagerConfig { MaxWritePoolSize = CacheConfig.MaxWritePoolSize, MaxReadPoolSize = CacheConfig.MaxReadPoolSize }; string[] WriteServerConStr = SplitString(CacheConfig.GetRedisWriteConnectionString(), ","); string[] ReadServerConStr = SplitString(CacheConfig.GetRedisReadConnectionString(), ","); clientManager = new PooledRedisClientManager(WriteServerConStr, ReadServerConStr, redisClientManagerConfig); }