File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
temporal-sdk/src/main/java/io/temporal Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ public Builder setWorkflowExecutionTimeout(Duration workflowExecutionTimeout) {
266
266
* duration in any way. It defines for how long the Workflow can get blocked in the case of a
267
267
* Workflow Worker crash.
268
268
*
269
- * <p>Default is 10 seconds. Maximum value allowed by the Temporal Server is 1 minute .
269
+ * <p>Default is 10 seconds. Maximum value allowed by the Temporal Server is 120 seconds .
270
270
*/
271
271
public Builder setWorkflowTaskTimeout (Duration workflowTaskTimeout ) {
272
272
this .workflowTaskTimeout = workflowTaskTimeout ;
Original file line number Diff line number Diff line change @@ -197,12 +197,12 @@ public Builder setWorkflowExecutionTimeout(Duration workflowExecutionTimeout) {
197
197
198
198
/**
199
199
* Maximum execution time of a single workflow task. Default is 10 seconds. Maximum accepted
200
- * value is 60 seconds.
200
+ * value is 120 seconds.
201
201
*/
202
202
public Builder setWorkflowTaskTimeout (Duration workflowTaskTimeout ) {
203
- if (roundUpToSeconds (workflowTaskTimeout ) > 60 ) {
203
+ if (roundUpToSeconds (workflowTaskTimeout ) > 120 ) {
204
204
throw new IllegalArgumentException (
205
- "WorkflowTaskTimeout over one minute : " + workflowTaskTimeout );
205
+ "WorkflowTaskTimeout over two minutes : " + workflowTaskTimeout );
206
206
}
207
207
this .workflowTaskTimeout = workflowTaskTimeout ;
208
208
return this ;
You can’t perform that action at this time.
0 commit comments