refactor(llm): 调整基础模型服务刷新任务的执行周期

- 将 cron 表达式从 "0 0/1 * * * ?" 修改为 "0/30 * * * * ?"
- 此修改将刷新任务的执行周期从每分钟一次改为每 30 秒一次
This commit is contained in:
sunxiqing 2025-03-14 20:41:07 +08:00
parent a21317a362
commit bbe5984f38

View File

@ -254,7 +254,8 @@ public class BaseModelTaskService {
}
@Scheduled(cron = "0 0/1 * * * ?")
// @Scheduled(cron = "0 0/1 * * * ?")
@Scheduled(cron = "0/30 * * * * ?")
public void refreshTheModelService () {
try {
// 获取所有基础模型列表