diff --git a/src/CSRedisCore/CSRedisClient.cs b/src/CSRedisCore/CSRedisClient.cs index 073ac79..78a7dfc 100644 --- a/src/CSRedisCore/CSRedisClient.cs +++ b/src/CSRedisCore/CSRedisClient.cs @@ -1620,7 +1620,7 @@ public void Dispose() { foreach (var subscr in this.Subscrs) { - try { subscr.conn.Value.Unsubscribe(); } catch { } + //try { subscr.conn.Value.Unsubscribe(); } catch { } try { subscr.conn.Value.ReceiveTimeout = (subscr.conn.Pool as RedisClientPool)._policy._syncTimeout; } catch { } subscr.conn.Pool.Return(subscr.conn, true); } @@ -1811,7 +1811,7 @@ public void Dispose() { foreach (var conn in this.RedisConnections) { - try { conn.Value.PUnsubscribe(); } catch { } + //try { conn.Value.PUnsubscribe(); } catch { } try { conn.Value.ReceiveTimeout = (conn.Pool as RedisClientPool)._policy._syncTimeout; } catch { } conn.Pool.Return(conn, true); } diff --git a/src/CSRedisCore/CSRedisCore.csproj b/src/CSRedisCore/CSRedisCore.csproj index b252663..7cce563 100644 --- a/src/CSRedisCore/CSRedisCore.csproj +++ b/src/CSRedisCore/CSRedisCore.csproj @@ -4,7 +4,7 @@ CSRedisCore CSRedisCore CSRedisCore - 3.6.2 + 3.6.3 true https://github.com/2881099/csredis CSRedis 是 redis.io 官方推荐库,支持 redis-trib集群、哨兵、私有分区与连接池管理技术,简易 RedisHelper 静态类。 diff --git a/src/Microsoft.Extensions.Caching.CSRedis/Microsoft.Extensions.Caching.CSRedis.csproj b/src/Microsoft.Extensions.Caching.CSRedis/Microsoft.Extensions.Caching.CSRedis.csproj index f0794e9..6aa0e1a 100644 --- a/src/Microsoft.Extensions.Caching.CSRedis/Microsoft.Extensions.Caching.CSRedis.csproj +++ b/src/Microsoft.Extensions.Caching.CSRedis/Microsoft.Extensions.Caching.CSRedis.csproj @@ -4,7 +4,7 @@ Caching.CSRedis Caching.CSRedis Caching.CSRedis - 3.6.2 + 3.6.3 true https://github.com/2881099/csredis/tree/master/src/Microsoft.Extensions.Caching.CSRedis/README.md 分布式缓存 CSRedisCore 实现 Microsoft.Extensions.Caching @@ -21,7 +21,7 @@ - +