backburner-allq 1.0.34 → 1.0.35

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: 58292818366f9651b49592fa7b035f4da9ab7e3682566346059033639bed4c5b
4
- data.tar.gz: 2124c21a3f66a73373f68550dc9179400c00cf75431de33fc58f1123ed9eaa2b
3
+ metadata.gz: dcdca608a5d89c656e3bac8e9c08a8609bd621c87a65627be816182047f72682
4
+ data.tar.gz: 5b22e47c0e50d030e6b512b9b592b5e754281b6152f16225539074277458071b
5
5
  SHA512:
6
- metadata.gz: 5a04ae40e40defa45851012d1d4a626b113b01b1ab34d511835eca6ebcf03625df85e8620edd52c3210bd9b20f997174c1e6176a1463c8463d0c2ed7df343c31
7
- data.tar.gz: f2545dac249dec91798fc81f4fae108aa8928ca6aceffe72345b5388ba5d8757d3ab4a2f6f558add05c69f10217cc98c002c84158b3875e89aef7cd119f5773a
6
+ metadata.gz: ef7402c39f84323438ac0f8427943143f3f7e8ab82f56dd60669147098dc38d6fab2ab84a3a12d2fc0a751f270ac6cb3723ef800aa523b67b18f2e18290f76a5
7
+ data.tar.gz: b5f5ba04f1bebb6e511cb4d32c3bf83f6c2fb5e0960b908a6d1ef90cbf206e39c9a7c4d9e38745ab7734de990313e24ab1142f724f71d94ef8e69f8a95c1ce33
data/deploy.sh CHANGED
@@ -1,3 +1,3 @@
1
1
  echo "Did you update the version?"
2
2
  gem build backburner-allq.gemspec
3
- gem push backburner-allq-1.0.34.gem
3
+ gem push backburner-allq-1.0.35.gem
@@ -219,9 +219,6 @@ module Backburner
219
219
 
220
220
  begin
221
221
  Timeout.timeout(10) do
222
- if body && body.to_s.include?('["default"]')
223
- end
224
-
225
222
  if is_parent
226
223
  new_job = build_new_parent_job(body, options)
227
224
  result = @client.parent_job_post(new_job)
@@ -232,18 +229,18 @@ module Backburner
232
229
  raise 'PUT returned nil' if result.nil? || result.to_s == ''
233
230
  end
234
231
  rescue Timeout::Error
235
- puts('ALLQ_PUT_TIMEOUT')
232
+ puts('ALLQ PUT timeout, retrying...')
236
233
  sleep(5)
237
234
  retry_count += 1
238
235
  retry if retry_count < 4
239
- raise 'Failed to put on allq, we are investigating the problem, please try again'
236
+ raise "Failed to put on allq, we are investigating the problem, please try again -> #{body}"
240
237
  rescue StandardError => e
241
- puts('Failed to ALLQ PUT')
238
+ puts('Failed to ALLQ PUT, retrying...')
242
239
  puts(e)
243
240
  retry_count += 1
244
241
  sleep(5)
245
242
  retry if retry_count < 4
246
- raise 'Failed to put on allq, we are investigating the problem, please try again'
243
+ raise "Failed to put on allq, we are investigating the problem, please try again: #{body}"
247
244
  end
248
245
  result
249
246
  end
@@ -1,3 +1,3 @@
1
1
  module Backburner
2
- VERSION = "1.0.34"
2
+ VERSION = "1.0.35"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backburner-allq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.34
4
+ version: 1.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Malcolm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-21 00:00:00.000000000 Z
11
+ date: 2021-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: allq_rest