refactor(llm): 调整数据集同步任务的执行频率

- 将 DatasetTaskSyncService 类中的 syncDatasetAigcTask 方法的执行频率从每 15 秒一次改为每 30 秒一次
- 通过修改 Scheduled 注解的 cron 表达式实现
This commit is contained in:
Liuyang 2025-02-14 10:36:17 +08:00
parent e452203b4a
commit ea1f6ed8e6

View File

@ -23,7 +23,7 @@ public class DatasetTaskSyncService {
@Resource
private AsyncDataSetService dataSetService;
@Scheduled(cron ="0/15 * * * * ?")
@Scheduled(cron ="0/30 * * * * ?")
public void syncDatasetAigcTask() {
log.info("[syncDatasetAigcTask][开始同步任务]");
// 查询已经标注完成的数据集