From dd80f98196b7c39acfe3d1db1889218f538b4f0d Mon Sep 17 00:00:00 2001 From: baoliang Date: Wed, 12 May 2021 16:50:39 +0800 Subject: [PATCH] update sleep exception --- .../server/worker/task/AbstractCommandExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 36e1bcd9b..e408f1173 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) { -- GitLab