add queue lock for refresh-checkpoints
This commit is contained in:
parent
394ffa7b0a
commit
089a0022ae
|
@ -593,6 +593,7 @@ class Api:
|
|||
}
|
||||
|
||||
def refresh_checkpoints(self):
|
||||
with self.queue_lock:
|
||||
shared.refresh_checkpoints()
|
||||
|
||||
def create_embedding(self, args: dict):
|
||||
|
|
Loading…
Reference in New Issue