mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-09-26 00:24:16 +00:00
Fix data persistence issue in NanoVectorDBStorage
This commit is contained in:
parent
48d9800573
commit
41eff2ca2f
@ -217,7 +217,7 @@ class NanoVectorDBStorage(BaseVectorStorage):
|
||||
async with self._storage_lock:
|
||||
try:
|
||||
# Save data to disk
|
||||
self._get_client.save()
|
||||
self._client.save()
|
||||
# Notify other processes that data has been updated
|
||||
await set_all_update_flags(self.namespace)
|
||||
# Reset own update flag to avoid self-reloading
|
||||
|
Loading…
x
Reference in New Issue
Block a user