fluent-plugin-syslog-tls-with-backoff-test 2.1.0 → 2.1.1

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
  SHA256:
3
- metadata.gz: 9a6cf184752514f67e9a948de3491c942b3141cdaf8c848d90eb06cfdfd8600c
4
- data.tar.gz: 8e822189ef7010ca923e3b57f073bd14d01dd647d3f518c328e7f94171ac44c8
3
+ metadata.gz: acc0ffec4ad1f9094cff350f3ad476557aa91f077b86ce1bdc39187b5c537e37
4
+ data.tar.gz: 89285da2148ae4f9d24032275bb1afc78ff0b8bb5363c8af7c437142299b36ee
5
5
  SHA512:
6
- metadata.gz: 5a7fc65bd525f5dc958346ac096459fd82c1c6017ce68dcbaf96a200b75e857290f6b79c3512a6cdf2feed4239e2517e722592a554581cdaf6b3e12d4bc17ea0
7
- data.tar.gz: c184b3f57f552e450ce5af230cac4d40ba74db820869d96a4f42a0a99ca5a92c6ea5fe1350d81bfc63db5d948ad55236f4322ccb793241772f90723d5774ed94
6
+ metadata.gz: 01e086915ce9cab11fd46de400144eb12dd34366a9009d23d372740b3104df67b0d316123c3c3fc6d5e0260aeef08370e71f264458259f6e91d3ad71a9dfc7c1
7
+ data.tar.gz: 354f905afd96638f35ff1012ed8badc46d49cd666cb67c4bc6f1ec7087d941b0078d13f6331f4630ae599e3ad653d21c1a50b94c2c80fd0ef3884010abb5b8ed
@@ -18,6 +18,7 @@ module SyslogTls
18
18
  time_passed_since_failure = time_passed_since_failure.round(2)
19
19
  end
20
20
  if time_passed_since_failure == -1
21
+ pp "time_passed_since_failure is -1"
21
22
  return 1
22
23
  end
23
24
  backoffTime = @baseThreshold ** @retriesToDo
@@ -35,11 +36,13 @@ module SyslogTls
35
36
  def failtowrite
36
37
  @retriesToDo += 1
37
38
  @failTime = Time.now
39
+ pp "in failtowrite retries :: " + retriesToDo.to_s + " failTime:: " + failTime.to_s
38
40
  end
39
41
 
40
42
  def resetRetries
41
43
  @retriesToDo = 0
42
44
  @failTime = nil
45
+ pp "in reset retries"
43
46
  end
44
47
  end
45
48
  end
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
 
16
16
  module SyslogTls
17
- VERSION = '2.1.0'
17
+ VERSION = '2.1.1'
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.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan