You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Maximum time of a single Activity execution attempt.
49
-
Note that the Temporal Server doesn't detect Worker process failures directly. It relies on this timeout to detect that an Activity that didn't complete on time. So this timeout should be as short as the longest possible execution of the Activity body. Potentially long running Activities must specify {@link heartbeatTimeout} and call {@link activity.Context.heartbeat} periodically for timely failure detection.
50
-
48
+
* Maximum time of a single Activity execution attempt. Note that the Temporal Server doesn't detect Worker process
49
+
* failures directly. It relies on this timeout to detect that an Activity that didn't complete on time. So this
50
+
* timeout should be as short as the longest possible execution of the Activity body. Potentially long running
51
+
* Activities must specify {@link heartbeatTimeout} and call {@link activity.Context.heartbeat} periodically for
52
+
* timely failure detection.
53
+
*
51
54
* Either this option or {@link scheduleToCloseTimeout} is required.
55
+
*
56
+
* @default `scheduleToCloseTimeout` or unlimited
52
57
* @format number of milliseconds or {@link https://www.npmjs.com/package/ms | ms-formatted string}
53
58
*/
54
59
startToCloseTimeout?: string|number;
60
+
55
61
/**
56
62
* Time that the Activity Task can stay in the Task Queue before it is picked up by a Worker. Do not specify this timeout unless using host specific Task Queues for Activity Tasks are being used for routing.
57
63
* `scheduleToStartTimeout` is always non-retryable. Retrying after this timeout doesn't make sense as it would just put the Activity Task back into the same Task Queue.
58
-
* @default unlimited
64
+
*
65
+
* @default `scheduleToCloseTimeout` or unlimited
59
66
* @format number of milliseconds or {@link https://www.npmjs.com/package/ms | ms-formatted string}
60
67
*/
61
68
scheduleToStartTimeout?: string|number;
@@ -64,7 +71,8 @@ Note that the Temporal Server doesn't detect Worker process failures directly. I
64
71
* Total time that a workflow is willing to wait for Activity to complete.
65
72
* `scheduleToCloseTimeout` limits the total time of an Activity's execution including retries (use {@link startToCloseTimeout} to limit the time of a single attempt).
66
73
*
67
-
* Either this option or {@link startToCloseTimeout} is required
74
+
* Either this option or {@link startToCloseTimeout} is required.
75
+
*
68
76
* @default unlimited
69
77
* @format number of milliseconds or {@link https://www.npmjs.com/package/ms | ms-formatted string}
0 commit comments