Skip to content

Commit

Permalink
check qdrant issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnJyong committed Sep 19, 2023
1 parent d110721 commit 127d602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ def normalization_collections():
break
datasets_result = datasets.items
page += 1
for i in range(0, len(datasets_result), 20):
for i in range(0, len(datasets_result), 5):
threads = []
sub_datasets = datasets_result[i:i + 20]
sub_datasets = datasets_result[i:i + 5]
for dataset in sub_datasets:
document_format_thread = threading.Thread(target=deal_dataset_vector, kwargs={
'flask_app': current_app._get_current_object(),
Expand Down

0 comments on commit 127d602

Please sign in to comment.