[ agent ] [ agent ] - agent bootup optimize - 2

This commit is contained in:
zeaslity
2022-12-30 16:45:04 +08:00
parent e9e6535810
commit cf7775bf65
3 changed files with 3 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ public class CommandExecutor {
// start to send the result log
streamSender.startToWaitLog(streamKey);
// todo this will stuck the process and rabbitmq message will reentry the queue
// get the command result must also be a timeout smaller than the process
boolean waitFor = process.waitFor(50, TimeUnit.SECONDS);