Skip to content

Commit

Permalink
set timeout (apache#4794)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshupei authored Jul 21, 2023
1 parent 92a2ca3 commit fe394ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit fe394ec

Please sign in to comment.