cellect-server 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cellect/node_set.rb +5 -4
- data/lib/cellect/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: 1efbe81e4f9f98a1badc9aea8141532d0ecfda51
|
4
|
+
data.tar.gz: 52905f8f3f68771afeb1067dec99ad197644735f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 177f11e20220a38821d3f9385e064687f605f5a3dc86129529083f573c9d23c78c58d2ba07601250cf8b198ac464f1da36d4fb6138b2895dc68b00ed0b8a87bf
|
7
|
+
data.tar.gz: 469c823c50b7166c72d85c97dfa542400ec0c09e32720e1c232a0034011c3f5bc582d5b965166466da978276adaa1308e8ce16147e3a6d840405713366adb866
|
data/lib/cellect/node_set.rb
CHANGED
@@ -16,10 +16,11 @@ module Cellect
|
|
16
16
|
|
17
17
|
# Connect to ZooKeeper, setup this node, and change state
|
18
18
|
def initialize_zk
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
begin
|
20
|
+
Timeout::timeout(timeout_duration) do
|
21
|
+
self.zk = ZK.new zk_url, chroot: '/cellect'
|
22
|
+
end
|
23
|
+
end
|
23
24
|
setup
|
24
25
|
self.state = :ready
|
25
26
|
end
|
data/lib/cellect/version.rb
CHANGED