bricolage-streamingload 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/RELEASE.md +4 -0
- data/lib/bricolage/streamingload/job.rb +5 -1
- data/lib/bricolage/streamingload/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3374ca3db7400fe9dc36658bf78b3d6516f0acaf4488eb81df1d8054196b055f
|
4
|
+
data.tar.gz: 96735f5f850c2769b6031dc9472e27406ba79c9087d9333ac3bc2cddd0113ebc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b3a4caedabfea4579ad55942fb9e469821e9a82c50f7e09f782e37df00602ecb419ca47848339f0094dfeca3dc271337737d5fc0390c6e740e364c3dd84c174
|
7
|
+
data.tar.gz: 741586ac3cf7a4b4b5983af0a5775db34bf768a6b8a321347fd51a2970efc516ab5eb8516bdb3ecc68ca2ad82a4b923188eaba13e922b67ce06f953323232e40
|
data/RELEASE.md
CHANGED
@@ -126,7 +126,11 @@ module Bricolage
|
|
126
126
|
raise
|
127
127
|
rescue JobError => ex
|
128
128
|
ctl.open {
|
129
|
-
|
129
|
+
fail_count = @task.failure_count
|
130
|
+
final_retry = (fail_count >= MAX_RETRY)
|
131
|
+
retry_msg = (fail_count > 0) ? "(retry\##{fail_count}#{final_retry ? ' FINAL' : ''}) " : ''
|
132
|
+
ctl.abort_job job_id, 'error', retry_msg + ex.message.lines.first.strip
|
133
|
+
raise JobCancelled, "retry count exceeds limit: task_id=#{@task_id}" if final_retry
|
130
134
|
}
|
131
135
|
raise
|
132
136
|
rescue Exception => ex
|