Fix incorrect comment about update flag behavior in FAISS implementation

This commit is contained in:
yangdx
2025-03-01 22:27:12 +08:00
parent e3a40c2fdb
commit 9aef112d51

View File

@@ -359,7 +359,7 @@ async def index_done_callback(self) -> None:
try: try:
# Save data to disk # Save data to disk
self._save_faiss_index() self._save_faiss_index()
# Set all update flags to False # Notify other processes that data has been updated
await set_all_update_flags(self.namespace) await set_all_update_flags(self.namespace)
# Reset own update flag to avoid self-reloading # Reset own update flag to avoid self-reloading
if is_multiprocess: if is_multiprocess: