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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7deaabe1ef992bdf94c113269e6a467f472fb246
4
- data.tar.gz: 964edcba3059dd50ef94687f40fefe5c61f18fb1
3
+ metadata.gz: 9c47dbd9243cb8e69f27b6331483bad1f6eb65f2
4
+ data.tar.gz: 15ef0eeeb8e59e0fdb5f72f8a3e5d1d3d279f334
5
5
  SHA512:
6
- metadata.gz: c682954b769e7fb339e86b40a8e566609a998708295468d4e41851f79c66968b396b98f82b3b3cd5dc5e0e9cf23b88ce1565b69403e25313c312f90ffdc00f22
7
- data.tar.gz: b063673cde0773386cc6fd79613c061a5fceeeaecc654b1b4d4d2d504c44a0df25a3bafde39c2e61d4bba707119b7a5df576ce6bae3341246c6c033a0138ae42
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?
@@ -1,3 +1,3 @@
1
1
  module Protobuf
2
- VERSION = '3.7.4' # rubocop:disable Style/MutableConstant
2
+ VERSION = '3.7.5' # rubocop:disable Style/MutableConstant
3
3
  end
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
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-16 00:00:00.000000000 Z
14
+ date: 2017-05-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activesupport