-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何释放一个链接? #30
Comments
CSRedis.ConnectionPool.GetConnection 连接池获取超时(10秒) |
poolsize设置多少,最好写一个接口,监控pool状态
|
RedisHelper.ClusterNodes 这个是否为所有的节点 |
不是,RedisHelper有自己的CSRedisClient实例。你的这五个实例,各种有独立的连接池,循环上面我发的链接池监控
} |
CSRedis.CSRedisClient Redis = RedisBase.RedisSentinelX;
var s1 = Redis.Increment(key1, numbers);
var s2 = Redis.Increment(key2, fees);
进行操作之后,如何释放Redis链接
来防止get connection error
The text was updated successfully, but these errors were encountered: