Merge pull request #11718 from tangjicheng46/master

fix: add queue lock for refresh-checkpoints
This commit is contained in:
AUTOMATIC1111 2023-07-10 20:40:58 +03:00 committed by GitHub
commit 8d0078b6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,6 +593,7 @@ class Api:
}
def refresh_checkpoints(self):
with self.queue_lock:
shared.refresh_checkpoints()
def create_embedding(self, args: dict):