protobuf 3.7.4 → 3.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protobuf/rpc/connectors/zmq.rb +0 -8
- data/lib/protobuf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c47dbd9243cb8e69f27b6331483bad1f6eb65f2
|
4
|
+
data.tar.gz: 15ef0eeeb8e59e0fdb5f72f8a3e5d1d3d279f334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60930731ad74a300c1ee588165ba17279286f512c6eb944a0b2c8ab4f9103c564866cd8eb2a76e25e66f0504d7fa9f5eccad8ea9a75c8816354ce90e1920c531
|
7
|
+
data.tar.gz: b18f39b0728038ec14b85c256f7d9b2a07bab07eedfdadfcc622b8bb4a68d0ff88f347a5e132947815ec7fafe3b302a764c18633b0f7b4092cbb80c3d6aa422b
|
@@ -89,7 +89,6 @@ module Protobuf
|
|
89
89
|
# service. The LINGER is set to 0 so we can close immediately in
|
90
90
|
# the event of a timeout
|
91
91
|
def create_socket
|
92
|
-
has_reloaded_context = false
|
93
92
|
attempt_number = 0
|
94
93
|
|
95
94
|
begin
|
@@ -102,13 +101,6 @@ module Protobuf
|
|
102
101
|
zmq_error_check(socket.connect(server_uri), :socket_connect)
|
103
102
|
socket = socket_to_available_server(socket) if first_alive_load_balance?
|
104
103
|
end
|
105
|
-
|
106
|
-
if !has_reloaded_context && attempt_number == socket_creation_attempts
|
107
|
-
logger.info { sign_message("Reset Context: could not create socket") }
|
108
|
-
zmq_context(true) # reload the context
|
109
|
-
attempt_number = 0
|
110
|
-
has_reloaded_context = true
|
111
|
-
end
|
112
104
|
end while socket.try(:socket).nil? && attempt_number < socket_creation_attempts
|
113
105
|
|
114
106
|
raise RequestTimeout, "Cannot create new ZMQ client socket" if socket.try(:socket).nil?
|
data/lib/protobuf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-05-
|
14
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|