[ agent ] [ agent ] - agent bootup optimize - 1

This commit is contained in:
zeaslity
2022-12-30 16:26:02 +08:00
parent 8c510acd8a
commit e9e6535810
5 changed files with 38 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ public class CommandExecutor {
streamSender.startToWaitLog(streamKey);
// get the command result must also be a timeout smaller than the process
boolean waitFor = process.waitFor(processMaxWaitSeconds, TimeUnit.SECONDS);
boolean waitFor = process.waitFor(50, TimeUnit.SECONDS);
// end send logs
streamSender.endWaitLog(streamKey);