From 87ab387a5d5a4fc12baddb54936b8c016fa5710b Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Mon, 23 Nov 2020 11:12:17 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=E4=BF=AE=E6=94=B9=E6=B5=A9?= =?UTF-8?q?=E7=80=9A=E8=AE=BE=E5=A4=87=E5=90=AF=E5=8A=A8=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dispose/service/impl/DeviceTaskManagerServiceImpl.java | 1 - src/main/java/com/haohan/dispose/protocol/HaoHanInterface.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/dispose/service/impl/DeviceTaskManagerServiceImpl.java b/src/main/java/com/dispose/service/impl/DeviceTaskManagerServiceImpl.java index 13efc6b1..9828342d 100644 --- a/src/main/java/com/dispose/service/impl/DeviceTaskManagerServiceImpl.java +++ b/src/main/java/com/dispose/service/impl/DeviceTaskManagerServiceImpl.java @@ -595,7 +595,6 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService { */ @Override public void disposeTaskManagerSchedule() { - // 清理过期任务 for (DisposeTask v : disposeTaskManager.getExpiredTasks()) { log.info("Task {} {} {} is expired, expect finished at {}", diff --git a/src/main/java/com/haohan/dispose/protocol/HaoHanInterface.java b/src/main/java/com/haohan/dispose/protocol/HaoHanInterface.java index 8dde6a85..c7bda709 100644 --- a/src/main/java/com/haohan/dispose/protocol/HaoHanInterface.java +++ b/src/main/java/com/haohan/dispose/protocol/HaoHanInterface.java @@ -83,7 +83,7 @@ public class HaoHanInterface { // 自动停止多余的旧任务 ids.forEach(v -> { log.debug("HAOHAN_PLATFORM automatic stop more task: {}", v); - stopClean(baseUrlPath, Integer.parseInt(maxId), readme); + stopClean(baseUrlPath, Integer.parseInt(v), readme); }); // 更改返回值