Skip to content

Commit

Permalink
fix LocalCollection initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Nov 15, 2023
1 parent f1faca4 commit ff7a152
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qdrant_client/local/async_qdrant_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ def _load(self) -> None:
for collection_name, config_json in meta["collections"].items():
config = rest_models.CreateCollection(**config_json)
collection_path = self._collection_path(collection_name)
self.collections[collection_name] = LocalCollection(config, collection_path)
self.collections[collection_name] = LocalCollection(
config,
collection_path,
force_disable_check_same_thread=self.force_disable_check_same_thread,
)
self.aliases = meta["aliases"]
lock_file_path = os.path.join(self.location, ".lock")
if not os.path.exists(lock_file_path):
Expand Down

0 comments on commit ff7a152

Please sign in to comment.