boutons 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6335817799c818e80c5e9b9042192f6d259d5ee1
4
- data.tar.gz: bd818a6d33cc0fc7bb23ad3bb2aabc3714884a0d
3
+ metadata.gz: 5d16921a5e3255b3a5b8c7fcc7b55c8edbf20eb3
4
+ data.tar.gz: 173217231265128a40ec4c591f77f58c59b8545e
5
5
  SHA512:
6
- metadata.gz: 4a401dee9068d6fbc4f595a36e6e132a607200fda967961a9f10bab13b1edda3d6becaf1b88356e3720796067f33b155cee52bcd727e8670b45aa8a2dfaeea64
7
- data.tar.gz: 352b06e6490ffe2e2ee83925dfb7988d6dd17cd3e41730311a6c91c6a8d8d30cd247d102fb021cc785abdec5f5d4e360da01bdb7d139d5f8d22485a937dcbf00
6
+ metadata.gz: 76f11c9c1f47a090fbbd1735ef6e959fcfde2b69d4f9893482f31e30e6da2a3d5a133a0de14152cb1079fe651c9a5c006f5289e92efbfbef9693135b26cb41b1
7
+ data.tar.gz: 2c19c7b94b51d931b0f982a98b0732b9fdbbf3152870954de547e22122df0de58b676519884d12bb4fb90ce1c3e390ca36c564d7cb7b6cb3b7790696ea5e6f1d
data/lib/boutons/uri.rb CHANGED
@@ -35,7 +35,12 @@ module Boutons
35
35
  Thread.new do
36
36
  threads.each{|t|t.join}
37
37
  host,zk = queue.pop
38
- Boutons::Config.registry.zookeeper.hosts << host if zk.ping?
38
+ begin
39
+ zk.ping?
40
+ Boutons::Config.registry.zookeeper.hosts << host
41
+ rescue Zookeeper::Exceptions::ContinuationTimeoutError
42
+ nil
43
+ end
39
44
  end
40
45
  retry
41
46
  end
@@ -1,3 +1,3 @@
1
1
  module Boutons
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boutons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Kaufmann