aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md5
-rw-r--r--modules/api/api.py3
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6a31f35b..925403a9 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 5793bb44..1804a383 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: