1. 更新前端界面和Nginx配置

2. 更新Dockerfile设置
This commit is contained in:
EnderByEndera
2024-01-24 16:36:03 +08:00
parent 02dd20743f
commit 0da97a5254
34 changed files with 300 additions and 69 deletions

View File

@@ -39,7 +39,7 @@ public class ProtectObjectService {
}
List<ProtectObject> protectObjectBatch = ListUtils.newArrayListWithExpectedSize(batchSize);
for (ProtectObject protectObject : protectObjectList) {
for (ProtectObject protectObject : list) {
protectObjectBatch.add(protectObject);
if (protectObjectBatch.size() < batchSize) {
continue;

View File

@@ -79,7 +79,7 @@ public class StateChangeService {
return !Objects.equals(originalState, StateEnum.GENERATING.getState());
}
@Scheduled(cron = "0 0/2 * * * ?")
@Scheduled(cron = "0 0/10 * * * ?")
@Async
protected void finishTasks() {
List<Long> finishedTaskIds = taskService.getFinishedTasks();