Fix incorrect comment about update flag behavior in FAISS implementation
This commit is contained in:
parent
e3a40c2fdb
commit
9aef112d51
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue