修复添加任务时没有考虑到所有任务状态的问题

This commit is contained in:
chuzhongzai 2025-09-07 20:26:45 +08:00
parent 0b19a75d7b
commit 684cb608e2

View File

@ -167,8 +167,7 @@ public class DownloadCheckService {
}
//异常情况发送通知
CustomUtil.notifyMe(String.format("任务:%s存在名字但是下载路径为空且不存在压缩包", galleryTask.getName()));
queue.putIfAbsent(galleryTask.getGid(), galleryTask);
return false;
}
}