grpclb 0.4.4 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ruby/README.md +2 -0
- data/ruby/lib/grpclb/client.rb +4 -2
- 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: 72400d9b396ff34efbb4255f39b8a17b4b02ee396050d09548d4b1082864f6e7
|
4
|
+
data.tar.gz: fd7c797af9f8d577142f76e281973a2b42d13a6c8524161603f40a202888cc03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e347b9525a5f79066f6cb31d4ba2bb41a925e69c363314be6f8a9a36d980c2ca41027ddd86042883b5594316e9a398e371a965082657f335c1c4c1837aab4be9
|
7
|
+
data.tar.gz: 7f5c4a28b1607d788adb58d6ea1cb1c6a98c9f19a8021425bde0deee482378eb833b995890e81904cbb12667ca5bf363f318bc2a0a727c6c9b670e7769052388
|
data/ruby/README.md
CHANGED
data/ruby/lib/grpclb/client.rb
CHANGED
@@ -23,8 +23,6 @@ class Grpclb::Client
|
|
23
23
|
with_reconnect { client.send(meth, *a, &b) }
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
27
|
-
reconnect!
|
28
26
|
end
|
29
27
|
|
30
28
|
def reconnect!
|
@@ -38,6 +36,10 @@ class Grpclb::Client
|
|
38
36
|
|
39
37
|
private
|
40
38
|
|
39
|
+
def client
|
40
|
+
@client || reconnect!
|
41
|
+
end
|
42
|
+
|
41
43
|
def with_reconnect
|
42
44
|
retries = 0
|
43
45
|
begin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpclb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|