You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2023/07/21 15:19:08 UTC
[linkis] branch master updated: set timeout (#4794)
This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/master by this push:
new fe394ecfb set timeout (#4794)
fe394ecfb is described below
commit fe394ecfb17880eca0e683df168bffa77b286600
Author: 人生有如两个橘子 <15...@163.com>
AuthorDate: Fri Jul 21 23:19:02 2023 +0800
set timeout (#4794)
---
.../org/apache/linkis/ecm/core/launch/ProcessEngineCommandBuilder.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineCommandBuilder.scala b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineCommandBuilder.scala
index fade444fa..4b5b1fab9 100644
--- a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineCommandBuilder.scala
+++ b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineCommandBuilder.scala
@@ -77,7 +77,7 @@ class UnixProcessEngineCommandBuilder extends ShellProcessEngineCommandBuilder {
newLine("linkis_engineconn_errorcode=$?")
newLine("if [ $linkis_engineconn_errorcode -ne 0 ]")
newLine("then")
- newLine(" tail -1000 ${LOG_DIRS}/stderr")
+ newLine(" timeout 10 tail -1000 ${LOG_DIRS}/stderr")
newLine(" exit $linkis_engineconn_errorcode")
newLine("fi")
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org