Fix incorrect comment about update flag behavior in FAISS implementation
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user