aggkit 0.4.7.15738 → 0.4.7.15740

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/bin/aggwrap +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83d7511907a7c1978890b66f7e48868e63593b90b544b683c16bb8de677127cc
4
- data.tar.gz: 5dccd515b73f5108f4f8643e687398c5bc4f0336b91ab2550ece2c52c367ef50
3
+ metadata.gz: a018371c0e089fe8f85aa2390b5b8fa9a2ed4bc756b54b71ca8b4ad088aa994e
4
+ data.tar.gz: b132656bc489045caf0cd6c602144ce91c12784e4c529ec9c3cadb79c27deef7
5
5
  SHA512:
6
- metadata.gz: 7123257659dab2bfcb8217dc3c0337ff117ec30fd282ec39d4cff29e7ee08133aaee15a5409755539548eab5b009296bb8258b970b0f04655f004fec492e246d
7
- data.tar.gz: 92112818920407c61d86a021dfcdf17ccbe6311d0ff6a159ebbb909ec1e8e060bfd3b494a1ac7ae9d43234dc4f8a0279b7646583d34cfbfb586d019473ec0e9c
6
+ metadata.gz: 16109a10097ff4cfcdf70f15565939ee295f331d2438c1dc28b4606d8d9249c6ac9cb71a09cb505d77ab98b5d8e4c24c4bcf13ced8a3aaa7d1f61a372df65ad9
7
+ data.tar.gz: 5a8f765e409014055f3ef8fe4a93c875886ddf58f41a12dff762840a01d33e913cc1fa10a2b15f209692e5560e471e7e83c2fb334c4c47d101208fbdcbefdb78
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aggkit (0.4.7.15738)
4
+ aggkit (0.4.7.15740)
5
5
  diplomat
6
6
  dotenv
7
7
  json
data/bin/aggwrap CHANGED
@@ -229,12 +229,12 @@ end
229
229
 
230
230
  def make_ttl_pass(check_id, output = nil)
231
231
  output = "Check at: #{Time.now.utc}\n#{output}"
232
- STDERR.puts "TTL call failed: #{check_id}" unless Diplomat::Check.pass(check_id, output)
232
+ STDERR.puts "TTL call failed: #{check_id}" unless Diplomat::Check.pass(check_id, output, timeout: 5)
233
233
  end
234
234
 
235
235
  def make_ttl_fail(check_id, output = nil)
236
236
  output = "#{Time.now.utc}\n#{output}"
237
- STDERR.puts "TTL call failed: #{check_id}" unless Diplomat::Check.fail(check_id, output)
237
+ STDERR.puts "TTL call failed: #{check_id}" unless Diplomat::Check.fail(check_id, output, timeout: 5)
238
238
  end
239
239
 
240
240
  def check_http(check_id, port)
@@ -284,7 +284,7 @@ Thread.abort_on_exception = true
284
284
 
285
285
  Thread.new do
286
286
  loop do
287
- die("Can't register service #{@service} in consul") unless Diplomat::Service.register(@service)
287
+ die("Can't register service #{@service} in consul") unless Diplomat::Service.register(@service, timeout: 10)
288
288
  run_check(@checks[:exec]) do |check_id|
289
289
  make_ttl_pass(check_id)
290
290
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7.15738
4
+ version: 0.4.7.15740
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan