diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a31f35bc..925403a91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.4.1 + +### Bug Fixes: + * add queue lock for refresh-checkpoints + ## 1.4.0 ### Features: diff --git a/modules/api/api.py b/modules/api/api.py index 5793bb440..1804a383a 100644 --- a/modules/api/api.py +++ b/modules/api/api.py @@ -598,7 +598,8 @@ class Api: } def refresh_checkpoints(self): - shared.refresh_checkpoints() + with self.queue_lock: + shared.refresh_checkpoints() def create_embedding(self, args: dict): try: