We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b7bbd2 + 13ff642 commit 2978fe8Copy full SHA for 2978fe8
1 file changed
projects/policyengine-api-simulation/workflow.yaml
@@ -60,7 +60,21 @@ main:
60
Content-Type: "application/json"
61
body: ${input}
62
result: response
63
- retry: ${http.default_retry}
+ retry:
64
+ predicate: ${custom_predicate}
65
+ max_retries: 5
66
+ backoff:
67
+ initial_delay: 1
68
+ max_delay: 60
69
+ multiplier: 1.25
70
71
- returnResult:
72
return: ${response.body}
73
+
74
+#retry on any failure. tag links may return 404 before traffic is routed
75
+#the pre-defined http retry strategies will ignore this.
76
+custom_predicate:
77
+ params: [e]
78
+ steps:
79
+ - retry_always:
80
+ return: true
0 commit comments