diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java index 36e1bcd9bb3d24828ac7230eeb0b8f2edc1e498a..e408f1173868b09cc11a7564850d25bd6f01b9a5 100644 --- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java +++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/AbstractCommandExecutor.java @@ -420,7 +420,7 @@ public abstract class AbstractCommandExecutor { if (applicationStatus.equals(ExecutionStatus.SUCCESS)) { break; } - Thread.sleep(Constants.SLEEP_TIME_MILLIS); + ThreadUtils.sleep(Constants.SLEEP_TIME_MILLIS); } } } catch (Exception e) {