logjam_agent 0.24.9 → 0.24.10

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: 4f4084a12c7710dde3a9a571e77dd0798e59b937
4
- data.tar.gz: d68fc6a6742c005e12f69ce06be7c7309e4d1abb
3
+ metadata.gz: d218225e6e9c4140849de4b3f3edaf51eefd67f3
4
+ data.tar.gz: 89f7099ca6406472da645be193803cb9ad649733
5
5
  SHA512:
6
- metadata.gz: 242966b89252f74b404740ace64c873e1330e5b9581c6cedd238a617ca7f2a6cba93a5525a95492041fb357df462464c4487b9418a16bbb24fd4cd5e69bb2add
7
- data.tar.gz: eeac54142749930001c49966c1acafed405503ddafba51443b3e5e5a0bf136b8e984adf3ecc3a30235c6973b58b6381e5b75c99f61d257a12afda2a3ee048460
6
+ metadata.gz: 1c9d1f4ae171302a63f1d8b2c0d8564de41fe603b8420ba328e05bd7682e8f1b35ad67520cd34da3b8e34766c73869c54ecbf9c83e8d35b4c656dc4c20b0bc16
7
+ data.tar.gz: 3f1e487c11461255f052c9f0c25777067249cbdf04674dfe6cc30918fb32036e757d46c4c992b6e60e4ccaa01c6b6e83c5b666ce23ea9a478286d2b72fcc339d
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.24.9"
2
+ VERSION = "0.24.10"
3
3
  end
@@ -57,9 +57,8 @@ module LogjamAgent
57
57
  @socket.setsockopt(ZMQ::RCVHWM, @config[:rcv_hwm])
58
58
  @socket.setsockopt(ZMQ::RCVTIMEO, @config[:rcv_timeo])
59
59
  @socket.setsockopt(ZMQ::SNDTIMEO, @config[:snd_timeo])
60
- connection_specs.each do |spec|
61
- @socket.connect(spec)
62
- end
60
+ spec = connection_specs.sort_by{rand}.first
61
+ @socket.connect(spec)
63
62
  @socket
64
63
  end
65
64
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.9
4
+ version: 0.24.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake