We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 585e327 commit 0ac4fa4Copy full SHA for 0ac4fa4
src/temporal/internal/child_workflow.clj
@@ -30,12 +30,6 @@
30
:cancellation-type #(.setCancellationType ^ChildWorkflowOptions$Builder %1 (cancellation-type-> %2))
31
:memo #(.setMemo ^ChildWorkflowOptions$Builder %1 %2)})
32
33
-(defn import-child-workflow-options
34
- [{:keys [workflow-run-timeout workflow-execution-timeout] :as options}]
35
- (cond-> options
36
- (every? nil? [workflow-run-timeout workflow-execution-timeout])
37
- (assoc :workflow-execution-timeout (Duration/ofSeconds 10))))
38
-
39
(defn child-workflow-options->
40
^ChildWorkflowOptions [options]
41
- (u/build (ChildWorkflowOptions/newBuilder) child-workflow-option-spec (import-child-workflow-options options)))
+ (u/build (ChildWorkflowOptions/newBuilder) child-workflow-option-spec options))
0 commit comments