csredis
                                
                                
                                
                                    csredis copied to clipboard
                            
                            
                            
                        .NET Core or .NET Framework 4.0+ client for Redis and Redis Sentinel (2.8) and Cluster. Includes both synchronous and asynchronous clients.
大佬帮忙看看下面的情况是咋回事 redis部署的是三节点哨兵:172.10.0.242、172.10.0.243、172.10.0.244(操作系统是centos 7.9) 断网前:243是主节点,242和244是从节点 断网后:242变成主节点 测试代码有10个订阅,如下:  使用ifconfig ens192 down 断开主节点243的网络,待csredis哨兵主节点切换成242后,使用ifconfig ens192 up 使243重新联网, 此时242变成主节点,截图如下:  然后订阅就一直报错,循环输出下图红色框选的错误信息   报错堆栈信息如下: 
.netcore项目,作者推荐是csrediscore还是freeRedis啊?
找了好久没找到,也没有找到教程。
单元测试 入参如下:rds.XPending("testXReadGroupKey01", "testXReadGroup01","-","+",100); 报错代码: public void ExpectType(RedisMessage expectedType) { RedisMessage type = ReadType(); if ((int)type == -1) { var alldata = _io.ReadAll(); try { _io.Dispose(); } catch { } throw...
请问CSRedis有无接口示例代码或者如何配置证书? **Code:** var csredis = new CSRedisClient("192.168.8.111:6379,ssl=true"); RedisHelper.Initialization(csredis); Console.WriteLine(csredis.Get("name")); **Exception error:** 3)System.Exception:“【192.168.8.111:6379/0】状态不可用,等待后台检查程序恢复方可使用。One or more errors occurred. (Authentication failed because the remote party sent a ### TLS alert: 'HandshakeFailure'.)” 2)AuthenticationException: Authentication...
CSRedisClient.cs 代码 public bool Refresh(int milliseconds) { var ret = RedisHelper.Eval(@"local gva = redis.call('GET', KEYS[1]) if gva == ARGV[1] then redis.call('PEXPIRE', KEYS[1], ARGV[2]) return 1 end return 0", _name, _value,...
请教一下 System.OutOfMemoryException: SafeObjectPool.GetAsync 无可用资源且队列过长,Policy.AsyncGetCapacity = 100000 这个是否是连接池设置的太小 然后阻塞操作较多导致的
Unexpected end of stream; expected type 'Status'; data = '' at CSRedis.CSRedisClient.GetAndExecute[T](RedisClientPool pool, Func`2 handler, Int32 jump, Int32 errtimes) at CSRedis.CSRedisClient.ExecuteScalar[T](String key, Func`3 hander) at CSRedis.CSRedisClient.Set(String key, Object value, Int32...

``` new Thread(() => { LeaguerAccountDto account = null; try { while (RedisHelper.LLen(key) > 0) { account = RedisHelper.LPop(key); if (account != null) { //业务处理 } } } catch(Exception ex){...