Skip to content

Commit a26483b

Browse files
authored
Allow parallel optimizations in Qdrant after uploading (#208)
1 parent a0d672c commit a26483b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

engine/clients/qdrant/upload.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ def post_upload(cls, _distance):
6262
collection_name=QDRANT_COLLECTION_NAME,
6363
optimizer_config=OptimizersConfigDiff(
6464
# indexing_threshold=10_000,
65-
max_optimization_threads=1,
65+
# Set to a high number to not apply limits, already limited by CPU budget
66+
max_optimization_threads=100_000,
6667
),
6768
)
6869

0 commit comments

Comments
 (0)