parent
ee0dbf6525
commit
87ab387a5d
|
@ -595,7 +595,6 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void disposeTaskManagerSchedule() {
|
public void disposeTaskManagerSchedule() {
|
||||||
|
|
||||||
// 清理过期任务
|
// 清理过期任务
|
||||||
for (DisposeTask v : disposeTaskManager.getExpiredTasks()) {
|
for (DisposeTask v : disposeTaskManager.getExpiredTasks()) {
|
||||||
log.info("Task {} {} {} is expired, expect finished at {}",
|
log.info("Task {} {} {} is expired, expect finished at {}",
|
||||||
|
|
|
@ -83,7 +83,7 @@ public class HaoHanInterface {
|
||||||
// 自动停止多余的旧任务
|
// 自动停止多余的旧任务
|
||||||
ids.forEach(v -> {
|
ids.forEach(v -> {
|
||||||
log.debug("HAOHAN_PLATFORM automatic stop more task: {}", v);
|
log.debug("HAOHAN_PLATFORM automatic stop more task: {}", v);
|
||||||
stopClean(baseUrlPath, Integer.parseInt(maxId), readme);
|
stopClean(baseUrlPath, Integer.parseInt(v), readme);
|
||||||
});
|
});
|
||||||
|
|
||||||
// 更改返回值
|
// 更改返回值
|
||||||
|
|
Loading…
Reference in New Issue