docker-registry-sync 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTU5NDJkNzRlZTY2OTA5MDc4ZTYxZTE5ZjAyYThlZDlmODY3YzFjNQ==
4
+ ODRjZjU0YjQ2NmQxZGQ1MTFjYzE3ZTI3YzhiYzBkM2JlYzg1OGM0NQ==
5
5
  data.tar.gz: !binary |-
6
- N2NmNjE0MDFiMDVkYTA0NzE0OGNhNWU5MWU0Njg1N2MzYTlmMDBlMQ==
6
+ YmY3YWFmNzNjZGI0ZjBiMWUzZjM1MDJkNDkwNjIyYzljMjU1NWE4Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDA0OTg5N2ZjY2I4YjE5MWI2NmZhMWVlNzMwYjg0NzFmOTI2YjRiYTBkYTZi
10
- NGMzM2M0YzJmNzUyMDU1YWE3YzQ5MjkyNjUxNzU3MDIyNDNmMzYyMTE1ZmJh
11
- MzQ4MGMxNDIzMTI1MGFjNzkwNWM1YTRiMGQwYjgyNjViMDY0YWM=
9
+ YzIyYzBlY2IxYzJmM2NhN2IzMmI3ZTRmMDdkMGJlNWNmNDNlNjY1Y2QxYjQx
10
+ ODk3Mzc4NTI2NmM3YzgzY2EwYTViMmJmZWY5NTAwNzJlZTJmN2Y2NWQ1MzNi
11
+ YTljNmY2YTVjZjI0MWQ3OGEzY2MzZmM5OWM2OTVkZGEyNGNiNDQ=
12
12
  data.tar.gz: !binary |-
13
- MTM2ZWU3NDUyZWNhMjExYzg5ZDc3M2RiZGRlMzZmOTczM2NmODRlZDAyYWJl
14
- M2VjOGE1ZTFjMmNiYjY3NTIxZmM4NTI5ZTA2M2FiZjJhMzdhZmExMGI3Y2Vl
15
- ZjY3ZDBmODRiZTM2YzgwMzQ4MTM2NjIxMTg0YzlmZGEzYzE4NjM=
13
+ ZWQwMWY1NWYzMzI2NzczNTlhNGZmNjAyZTAzODI3ZWE0YWFmNzY4ZGNkMTYx
14
+ MzJiM2FiNjE1ODI0YWMxOTgxMTRiYzYxYTM5OTdlODI2NzM0NmI0MDcwODMz
15
+ Mjg0ZDYyZmYxODgwNWFhYjk4M2I2ODNiOTNkMmVlNDgwMjcwYzg=
@@ -172,6 +172,7 @@ module Docker
172
172
  sleep @config.empty_queue_sleep_time unless @terminated
173
173
  rescue Exception => e
174
174
  @config.logger.error "An unknown error occurred while monitoring queue: #{e}"
175
+ @config.logger.error e.traceback
175
176
  @config.logger.error 'Exiting...'
176
177
  @terminated = true
177
178
  ec = 1
@@ -112,7 +112,6 @@ module Docker
112
112
  opts[:copy_source_sse_customer_algorithm] = 'AES256'
113
113
  end
114
114
  @work_queue << opts
115
- sleep 0.1
116
115
  end
117
116
  end
118
117
 
@@ -123,6 +122,7 @@ module Docker
123
122
  t_index = nil
124
123
 
125
124
  begin
125
+ sleep 0.1
126
126
  busy = @threads.select { |t| t.nil? || t.status == false || t['finished'].nil? == false }.length == 0
127
127
  end until !busy
128
128
  t_index = @threads.rindex { |t| t.nil? || t.status == false || t['finished'].nil? == false }
@@ -1,7 +1,7 @@
1
1
  module Docker
2
2
  module Registry
3
3
  module Sync
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-registry-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Oldfield