From 41eff2ca2f82d9bbe5a5e54ef7080068d65a6fdb Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 1 Mar 2025 13:35:00 +0800 Subject: [PATCH] Fix data persistence issue in NanoVectorDBStorage --- lightrag/kg/nano_vector_db_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightrag/kg/nano_vector_db_impl.py b/lightrag/kg/nano_vector_db_impl.py index c17189c6..e0ecacdf 100644 --- a/lightrag/kg/nano_vector_db_impl.py +++ b/lightrag/kg/nano_vector_db_impl.py @@ -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