redis-reconnect_with_readonly 0.9.0 → 0.9.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 +6 -0
- data/README.md +3 -3
- data/lib/redis/reconnect_with_readonly.rb +2 -0
- data/lib/redis/reconnect_with_readonly/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21d616b3294b61179b1704851f3524c4f0bf1be8
|
4
|
+
data.tar.gz: 7d487051f5cd268ae1a7eb4c4b15245400ed320a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6440817029e71d7c7a066f4cdf5a56d9481af40045f064607f04e26a5eea2f8714c91317fbdc10d1ee833acab3304743a65c822f5408013db883780ca5178037
|
7
|
+
data.tar.gz: f35251da92d88a6695311008ba24e659e378ee0a0d2caa3166e603e5ea1d8c6f7deaecbed8ceacb08ee27513dc4d59f24338a994e6587b0548f034c0c9814c7f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -28,9 +28,9 @@ require 'redis/reconnect_with_readonly'
|
|
28
28
|
|
29
29
|
## Configuration
|
30
30
|
|
31
|
-
This gem tries
|
32
|
-
It will wait `initial_retry_wait * number of retries`
|
33
|
-
The waiting
|
31
|
+
This gem tries to reconnect `reconnect_attempts` times.
|
32
|
+
It will wait `initial_retry_wait * number of retries` seconds on each retry.
|
33
|
+
The waiting interval can be suppressed up to `max_retry_wait` seconds.
|
34
34
|
|
35
35
|
```
|
36
36
|
Redis::ReconnectWithReadonly.reconnect_attempts = 10 # default: 3 (times)
|