Skip to content

Commit

Permalink
fix: Donot refresh load
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored and alwayslove2013 committed Nov 28, 2024
1 parent e67a0a6 commit 340eb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vectordb_bench/backend/clients/milvus/milvus.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _optimize(self):
self._post_insert()
log.info(f"{self.name} optimizing before search")
try:
self.col.load(refresh=True)
self.col.load()
except Exception as e:
log.warning(f"{self.name} optimize error: {e}")
raise e from None
Expand Down

0 comments on commit 340eb41

Please sign in to comment.