redis-cluster-client 0.4.9 → 0.4.10

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
  SHA256:
3
- metadata.gz: 19e03bc6e2b6ddf57697c9e63dd5ffa729e6621979b3daef02b28062dc328494
4
- data.tar.gz: f212df153cda0c53710c5f03586c01042d168380982113e4dd354ae859c276b4
3
+ metadata.gz: a8db8a7aac1f09df0c2fc3c7da3f0227246671d2fd0a199dabcda22caa0787d3
4
+ data.tar.gz: d0431f663859765f0ff3f537f4f74fcd17a72c561b615616ae5e24543bb3d3df
5
5
  SHA512:
6
- metadata.gz: e6034b7693d67eaec5e979fe5cce0c310746262971a77642392930ee1dc2be2cefcad6ac3729cc8d11fb3a2d3ba1077ee2aacfef618fc570c688850056f1c1f6
7
- data.tar.gz: 5182806018f1452094085cea4f2c1bd70ecbfe71d4d5b178fec7f06712debd4cb843fb794ab1b1d29df61204a14db9a0e92eb133f40ffcb732397dd76c7e199f
6
+ metadata.gz: bed8b8bc6f6321808fcee27b30c43746eca124abad25bbdb7923bc6b6faf56cb53343008fcf4648d4be56df42d7e8baa1a105206ff6a7370dae9c528bf7213cc
7
+ data.tar.gz: 1ee8f2edc8207011ccdda3a3d863895adc5ae0f3747b4b62374a96cbb19779f00b13fb350aa519a38083708da250f0e3249667c0a8dbaaeaf07781f2dcf0cbdd
@@ -22,7 +22,7 @@ class RedisClient
22
22
 
23
23
  def take_message(timeout)
24
24
  @worker = subscribe(@client, timeout) if @worker.nil?
25
- return if @worker.join(0.01).nil?
25
+ return if @worker.alive?
26
26
 
27
27
  message = @worker[:reply]
28
28
  @worker = nil
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-cluster-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taishi Kasuga