njnu-seafish commented on code in PR #17796:
URL:
https://github.com/apache/dolphinscheduler/pull/17796#discussion_r2625503768
##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java:
##########
@@ -74,6 +74,12 @@ public class MasterConfig implements Validator {
*/
private String masterRegistryPath;
+ /**
+ * Maximum time allowed for a task to be successfully dispatched.
+ * Default: 5 minutes.
+ */
+ private Duration dispatchTimeout = Duration.ofMinutes(5);
Review Comment:
> We should make it configurable by users in the configuration file and it
can be turned off.
good idea!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]