redis-cluster-client 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis_client/cluster/node.rb +4 -0
- data/lib/redis_client/cluster/router.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd46d3091e80d00d8495ce291e29a400b5010a1778214f3314054d259af73db9
|
4
|
+
data.tar.gz: b04ca7a3cd458ac5fddbc24b640b26705e05032e5cf1c48a1bae25f94396bd57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 888cd4fad351e1f23e3db2a751c0622ab7be6113d1830a9439e2ac27dc70a3daff021877f56922fdba7b6068f7707c05f96ac64d7bf21981fca7ba7567e29fcb
|
7
|
+
data.tar.gz: 4e3525dbd3cfcb9eacd9347005455de34f14af08ab1294d6f1a49dacb9f7cc1d777fef60722cda9268aa6b9b3681dfdb1e593b408731d57fcc8ad4be5fdd6b5c
|
@@ -23,7 +23,7 @@ class RedisClient
|
|
23
23
|
@pool = pool
|
24
24
|
@client_kwargs = kwargs
|
25
25
|
@node = fetch_cluster_info(@config, pool: @pool, **@client_kwargs)
|
26
|
-
@command = ::RedisClient::Cluster::Command.load(@node)
|
26
|
+
@command = ::RedisClient::Cluster::Command.load(@node.shuffled_nodes)
|
27
27
|
@mutex = Mutex.new
|
28
28
|
@command_builder = @config.command_builder
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-cluster-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taishi Kasuga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis-client
|