Commit 6f8e9af
committed
workflow: do not retry AM poll activities
This commit updates the poller activities so they convert errors that escape
the backoff retry into workflow NRE (non-retryable) errors. When these are
returned, they escape the retry policy attached to the activities.
E.g., we want the activity to give up right away when Archivematica returns the
"FAILED" status for a package.1 parent c528595 commit 6f8e9af
File tree
2 files changed
+2
-2
lines changed- internal/workflow
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments