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

- 将刷新任务的执行频率从每 10秒调整为每 15秒
- 此修改旨在平衡性能和实时性,减少过于频繁的任务执行对系统资源的影响
This commit is contained in:
sunxiqing 2025-03-14 21:40:09 +08:00
parent 4a5f32cba1
commit 9783c5ceb7

View File

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