redis-client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/redis_client/version.rb +1 -1
- data/lib/redis_client.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3b26d6232b408310d32fda820a8d89263dccd3d3af1ab9518f2f398fdcb94c5
|
4
|
+
data.tar.gz: af204813327a82cf9a80dd22ee7b5528f67df200765561bcb0e399bdd5b0e829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3754bcdfb70484753fb67e69cbc0b071eb7dacbef67a48edb59dd55a8c79094a84b3ca96caa7f0f8ac0969ce24433688d81eba2bca3b27be79bb60600a1ff1a8
|
7
|
+
data.tar.gz: 998dd6e7b0cf8d92880b473aee858f19e3bff1da2ce670f4c4fae3e43e2f534a8cf2cdd1aca064036bc7c20cea660ad69d3611d80c15f5679ca78bef1747e637
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/redis_client/version.rb
CHANGED
data/lib/redis_client.rb
CHANGED
@@ -600,7 +600,7 @@ class RedisClient
|
|
600
600
|
else
|
601
601
|
connection
|
602
602
|
end
|
603
|
-
rescue ConnectionError => error
|
603
|
+
rescue ConnectionError, ProtocolError => error
|
604
604
|
connection&.close
|
605
605
|
close
|
606
606
|
|
@@ -617,7 +617,7 @@ class RedisClient
|
|
617
617
|
begin
|
618
618
|
@disable_reconnection = true
|
619
619
|
yield connection
|
620
|
-
rescue ConnectionError
|
620
|
+
rescue ConnectionError, ProtocolError
|
621
621
|
connection&.close
|
622
622
|
close
|
623
623
|
raise
|