This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris-manager.git


The following commit(s) were added to refs/heads/master by this push:
     new fefff7c  [Fix] fix the time units (#60)
fefff7c is described below

commit fefff7ca3f9e4ca1fbd97a54e4eafb0301846b2e
Author: feihengye <[email protected]>
AuthorDate: Tue May 31 23:56:40 2022 +0800

    [Fix] fix the time units (#60)
---
 .../src/main/java/org/apache/doris/manager/agent/util/ShellUtil.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/manager/dm-agent/src/main/java/org/apache/doris/manager/agent/util/ShellUtil.java
 
b/manager/dm-agent/src/main/java/org/apache/doris/manager/agent/util/ShellUtil.java
index 94cdb75..c03b1be 100644
--- 
a/manager/dm-agent/src/main/java/org/apache/doris/manager/agent/util/ShellUtil.java
+++ 
b/manager/dm-agent/src/main/java/org/apache/doris/manager/agent/util/ShellUtil.java
@@ -65,7 +65,7 @@ public class ShellUtil {
         CommandLine cmdLine = CommandLine.parse(shellCmd);
         DefaultExecutor executor = new DefaultExecutor();
         // If the running time exceeds 1 minute, it will be judged as 
execution failure
-        ExecuteWatchdog watchdog = new ExecuteWatchdog(shellTimeout * 300 * 
1000);
+        ExecuteWatchdog watchdog = new ExecuteWatchdog(shellTimeout * 60 * 
1000);
         executor.setWatchdog(watchdog);
         executor.setExitValues(succExitValue);
         int exitValue = 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to