refactor(llm): 调整基础模型服务刷新任务的执行周期
- 将 cron 表达式从 "0 0/1 * * * ?" 修改为 "0/30 * * * * ?" - 此修改将刷新任务的执行周期从每分钟一次改为每 30 秒一次
This commit is contained in:
parent
a21317a362
commit
bbe5984f38
@ -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 {
|
||||
// 获取所有基础模型列表
|
||||
|
Loading…
x
Reference in New Issue
Block a user