yl
2023-01-06 88f0b4f47865c4af3153049965411a7795bc5e4c
VueWebApi/Tools/RedisHelper.cs
@@ -42,8 +42,8 @@
                PooledRedisClientManager prc = new PooledRedisClientManager(readWriteHosts, readOnlyHosts,
                new RedisClientManagerConfig
                {
                    MaxWritePoolSize = readWriteHosts.Length * 5,  //最大写链接数
                    MaxReadPoolSize = readOnlyHosts.Length * 5,    //最大读链接数
                    MaxWritePoolSize = readWriteHosts.Length * 512,  //最大写链接数
                    MaxReadPoolSize = readOnlyHosts.Length * 512,    //最大读链接数
                    AutoStart = true,                              //自动重启
                }, i, 200, 10);// { RedisClientFactory = (IRedisClientFactory)RedisCacheClientFactory.Instance.CreateRedisClient("127.0.0.1", 6379) }; 
                pools.Add(i, prc);