aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-11 03:25:50 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-11 03:25:50 +0000
commit7b833291b3ef4690ef158ee3415c2e93948acb2d (patch)
tree7e9364a618b572a8b748e9f4723502c10f70c44a
parent910d4f61e5a08c620dd5010665815e2694a55d11 (diff)
parentf865d3e11647dfd6c7b2cdf90dde24680e58acd8 (diff)
downloadstable-diffusion-webui-gfx803-7b833291b3ef4690ef158ee3415c2e93948acb2d.tar.gz
stable-diffusion-webui-gfx803-7b833291b3ef4690ef158ee3415c2e93948acb2d.tar.bz2
stable-diffusion-webui-gfx803-7b833291b3ef4690ef158ee3415c2e93948acb2d.zip
Merge branch 'master' into dev
-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: