cache_store_redis 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47ced927b558a7236ec90370f7a9a8b3d51b2f29
|
4
|
+
data.tar.gz: 470596a557bcc5bc19204d609fd54f4a55f477d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a32e4baf1d397695ee2b63cc8e629aff677d74cc1abefe3e3c674b58e3548696de85eec03329764544684882f97f3552111c2e1ffb90261ac6e4b34e38ceeef
|
7
|
+
data.tar.gz: 47779a89becb095ebd319c08205af16c5ce73eaf6cd9a40fcc4990bb46dd787cda5c57120c0678f87dc76f5d8bbef1602d679d42780c28a2105e4a01c1535424
|
@@ -90,6 +90,16 @@ class OptionalRedisCacheStore
|
|
90
90
|
rescue => e
|
91
91
|
@logger.error(
|
92
92
|
"[#{self.class}] - An error occurred checking pinging the cache. " \
|
93
|
+
"Error: #{e.message} | Backtrace: #{e.backtrace}"
|
94
|
+
)
|
95
|
+
false
|
96
|
+
end
|
97
|
+
|
98
|
+
def shutdown
|
99
|
+
redis_store.shutdown
|
100
|
+
rescue => e
|
101
|
+
@logger.error(
|
102
|
+
"[#{self.class}] - An error occurred checking shutting down the connection pool. " \
|
93
103
|
"Error: #{e.message} | Backtrace: #{e.backtrace}"
|
94
104
|
)
|
95
105
|
false
|