Skip to content
代码片段 群组 项目
未验证 提交 8d0078b6 编辑于 作者: AUTOMATIC1111's avatar AUTOMATIC1111 提交者: GitHub
浏览文件

Merge pull request #11718 from tangjicheng46/master

fix: add queue lock for refresh-checkpoints
No related branches found
No related tags found
无相关合并请求
......@@ -593,7 +593,8 @@ class Api:
}
def refresh_checkpoints(self):
shared.refresh_checkpoints()
with self.queue_lock:
shared.refresh_checkpoints()
def create_embedding(self, args: dict):
try:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册