教育垂直领域大模型平台 Modify by Kalman.CHENG ☆

main
chengminglong 11 hours ago
parent 0858f958fa
commit 2c7824c980

@ -81,5 +81,5 @@ async def train_document_task():
update_theme_sql: str = " UPDATE t_ai_teaching_model_theme SET search_flag = 1 WHERE id = " + str(theme["id"])
await execute_sql(update_theme_sql, ())
# 添加适当的等待时间,避免频繁查询
await asyncio.sleep(10) # 开发阶段每10秒一次
# await asyncio.sleep(600) # 每十分钟查询一次
# await asyncio.sleep(10) # 开发阶段每10秒一次
await asyncio.sleep(600) # 每十分钟查询一次

Loading…
Cancel
Save