aggkit 0.4.8.19628 → 0.4.8.19629

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: 62d78c4f425ec057c11a884202c9861aba14c2c937ba9db3df4def20270ab2f5
4
- data.tar.gz: 556241cb78ef532c909ae6bd57975ff239de73c0b6fd0783ecbd05f6aeb83aae
3
+ metadata.gz: 7a54efbd65a56ca8e509217282eb5bc5e186d0364be3ad28e5f382b1d099fc1c
4
+ data.tar.gz: 61127afd246f49e4597aed005ec720024d9ab690d128b2ba47f7fba55df16f12
5
5
  SHA512:
6
- metadata.gz: b7740ccb842f24a15ff90d605f696e34db9a78b4a510524983dd0f8b77eeb7db1dd2cb28d1f930b0ded1e7b903ab4f3c0f2b434ec0d3f55f39c24df5ed91000b
7
- data.tar.gz: c6b79de91d3e27542ee95d04fd949dfc21916d9a90a535a7ddf7a209d457951d554f8ed40f54a25c1c19499dabfd0ebb8f7309a9a5088d516cc62309212567bf
6
+ metadata.gz: '0991c441dcb511e2aca710fca1b58dbc78ba7a00dc323b9b0ee8a04c10a247ec3427c54fd907ec279bfe3f84526a54df5366f046a343251a623a33410ad8f6fb'
7
+ data.tar.gz: 769e7f8020805cda5e575a605f6b05b003d74c2565b34a70d9b1ad964e6d3d32604f3e97a8fff969c72f66178d9556c568e850aaf585b8a4b19b60e02346bc97
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aggkit (0.4.8.19628)
4
+ aggkit (0.4.8.19629)
5
5
  diplomat
6
6
  dotenv
7
7
  json
data/bin/aggwrap CHANGED
@@ -235,12 +235,12 @@ end
235
235
  Thread.abort_on_exception = true
236
236
 
237
237
  def with_retry(count = 2)
238
+ retries = 0
238
239
  begin
239
- retries ||= 0
240
240
  yield
241
241
  rescue StandardError
242
242
  if (retries += 1) < count
243
- STDERR.puts "Retry #{retries}..."
243
+ STDERR.puts "Retry #{retries} at: #{Time.now}..."
244
244
  retry
245
245
  else
246
246
  raise
@@ -251,7 +251,7 @@ end
251
251
  def ensure_service_registered
252
252
  with_retry(3) do
253
253
  STDERR.puts "Ensure service #{@service[:Name]} with ID:#{@service[:ID]} registered..."
254
- raise "Registration failed by Diplomat" unless Diplomat::Service.register(@service, timeout: 10)
254
+ raise "Registration failed by Diplomat" unless Diplomat::Service.register(@service, timeout: 15)
255
255
  yield
256
256
  end
257
257
  rescue => e
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.8.19628
4
+ version: 0.4.8.19629
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan