test-opensearch 0.0.0.17 → 0.0.0.18

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: af727e2a72e5f71b170ca5e37f65b84f8ae40fcb69eff636d2a70e44ce8426be
4
- data.tar.gz: 2467954baa65a7a74ee254f0f67dbe16aef370b34c434d005d8af13215c268a2
3
+ metadata.gz: 91c18a291793fda6a46f006bef41d93aa3f94ae6818d2b69ad27df0b5b4f6614
4
+ data.tar.gz: f6854e958070eaf6596b603f5aee2deacf41b68c70308a524adab089b658e609
5
5
  SHA512:
6
- metadata.gz: 3db5fe46be07f5a966cf0db77dfa09d3c300e33960cfa7f951f836c71a7074a6eecd49855569d0dbeac52b75ee5c0f324ccb5db3111c07c95f6689ea0e8dfe5f
7
- data.tar.gz: 4fb822bf6adf28269fbf13c434c2b06ea51e715ea9801fc76ca78524ffeda5d8a876e07607d453137da51e7b3d70edc17fa7308e3589a4a776a20b9709d2288d
6
+ metadata.gz: b98d89745b6419d64a2fb6e745791a715604e0c6aa28d2f52022648d71c322ca5c0b5c778f090e4a3ec88b3726a0a932357bd9aa41f900a4c8c807b9d24d01f7
7
+ data.tar.gz: 1c303c1587a238ab2c9042ae3d2e0efe7ad838fc7b53c0253db281f29ec6f43a461451b2475eb818e6c8fb610f3f71c4c7e82fd5412e42ea9bef309176629f22
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'test-opensearch'
6
- s.version = '0.0.0.17'
6
+ s.version = '0.0.0.18'
7
7
  s.authors = ['Oleh']
8
8
  s.email = ['imcotop@icloud.com']
9
9
  s.description = %q{test}
@@ -83,9 +83,9 @@ module Fluent::Plugin
83
83
  config_param :docinfo, :bool, :default => false
84
84
  config_param :check_connection, :bool, :default => true
85
85
  config_param :retry_forever, :bool, default: true, desc: 'If true, plugin will ignore retry_timeout and retry_max_times options and retry forever.'
86
- config_param :retry_timeout, :time, default: 72 * 60 * 60, desc: 'The maximum seconds to retry to flush while failing, until plugin discards buffer chunks.'
86
+ config_param :retry_timeout, :time, default: 72 * 60 * 60, desc: 'The maximum seconds to retry'
87
87
  # 72hours == 17 times with exponential backoff (not to change default behavior)
88
- config_param :retry_max_times, :integer, default: 5, desc: 'The maximum number of times to retry to flush while failing.'
88
+ config_param :retry_max_times, :integer, default: 5, desc: 'The maximum number of times to retry'
89
89
  # exponential backoff sequence will be initialized at the time of this threshold
90
90
  config_param :retry_type, :enum, list: [:exponential_backoff, :periodic], default: :exponential_backoff
91
91
  ### Periodic -> fixed :retry_wait
@@ -94,7 +94,7 @@ module Fluent::Plugin
94
94
  # b: base factor, @retry_exponential_backoff_base
95
95
  # k: times
96
96
  # total retry time: c + c * b^1 + (...) + c*b^k = c*b^(k+1) - 1
97
- config_param :retry_wait, :time, default: 1, desc: 'Seconds to wait before next retry to flush, or constant factor of exponential backoff.'
97
+ config_param :retry_wait, :time, default: 1, desc: 'Seconds to wait before next retry , or constant factor of exponential backoff.'
98
98
  config_param :retry_exponential_backoff_base, :float, default: 2, desc: 'The base number of exponential backoff for retries.'
99
99
  config_param :retry_max_interval, :time, default: nil, desc: 'The maximum interval seconds for exponential backoff between retries while failing.'
100
100
  config_param :retry_randomize, :bool, default: false, desc: 'If true, output plugin will retry after randomized interval not to do burst retries.'
@@ -355,7 +355,7 @@ module Fluent::Plugin
355
355
  @retry.step
356
356
  # Check if the retry limit has been reached
357
357
  if @retry.limit?
358
- raise Fluent::ConfigError, "Hit limit for retries. retry_times: #{@retry.steps} error: #{e.message}"
358
+ raise "Hit limit for retries. retry_times: #{@retry.steps} error: #{e.message}"
359
359
  else
360
360
  msg = "failed to connect or search."
361
361
  log.warn(msg, retry_times: @retry.steps, next_retry_time: @retry.next_time.round, error: e.message)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-opensearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.17
4
+ version: 0.0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-19 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd