fluent-plugin-syslog-tls-with-backoff-test 2.1.10 → 2.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccbbeafeeac8a5366bf9339b446e7a7791f13f92f4d48a4c8e75092feee1f269
4
- data.tar.gz: e3c384c13d3f73dd1a26fc015de73140983d3ef629d75066abb624e3da206b21
3
+ metadata.gz: 40cb298faea48e56b9849aa15f74631a79bda38b7ba2e98fc253b4b45db65c10
4
+ data.tar.gz: e626943215a39fa84b3990d091d3aaec1ab57afb89f1c8f3140d0a44d81f13fe
5
5
  SHA512:
6
- metadata.gz: bf1c18d5afaaf2c95c46746458aa10a75a5bbc6407802d4066da6a116c3543c7166f7859a2d01147a810dbb3e6fdd4d0e33a632c348897a041e01bcbb5e90231
7
- data.tar.gz: c0619408a2321ce6b2727fa1830d4c44c85c87f230054e2492d6dfc22fa3bcb44dfa10455160979e99babb24882097a97124dc0c65647dfb67a847eb002294d6
6
+ metadata.gz: 6db0abf7eb78eba839227b1f00bd1f5985a4f5c10355ae51d3e1ec8109f00f5d3762400d76692f0d704213504f4b4535b259f62571e95e4cd13d59cbef06c074
7
+ data.tar.gz: 07ee1536bfb1814a0779e3836738422c59dbd12432b8b698601241aa78f252b9be5714d267fb08c5317d980ab81041dac836ae5d5e6fac11accc9d94a2d0f732
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 2.1.2
2
+
3
+ * Exponential backoff added for failing host.
4
+
1
5
  #### 2.1.0
2
6
 
3
7
  * Require Ruby 2.5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-syslog-tls-with-backoff (2.1.0)
4
+ fluent-plugin-syslog-tls-with-backoff (2.1.2)
5
5
  fluentd (>= 0.14.0, < 2)
6
6
 
7
7
  GEM
@@ -56,6 +56,7 @@ def increase_retry(host_ip_port)
56
56
  end
57
57
  end
58
58
  rescue => e
59
+ pp "Error in increase_retry: #{e.message}"
59
60
  end
60
61
  end
61
62
 
@@ -185,7 +185,7 @@ module SyslogTls
185
185
  if can_write(host_ip_port) == 1
186
186
  io_select_return = IO.select(*args)
187
187
  ready_sockets, _, _ = io_select_return
188
- if !ready_sockets.empty?
188
+ if ready_sockets && !ready_sockets.empty?
189
189
  reset_tries(host_ip_port)
190
190
  io_select_return
191
191
  else
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
 
16
16
  module SyslogTls
17
- VERSION = '2.1.10'
17
+ VERSION = '2.1.11'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog-tls-with-backoff-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10
4
+ version: 2.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-28 00:00:00.000000000 Z
12
+ date: 2024-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd