Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployer/src/deployer/search/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_progressbar():
for success, info in streaming_bulk(
connection,
generator(),
chunk_size=250, # default: 500
chunk_size=125, # default: 500
max_chunk_bytes=52428800, # default: 104857600
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Shouldn't we also decrease max_chunk_bytes?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, indeed: it's the min of either

max_retries=4, # default: 0
# If the bulk indexing failed, it will by default raise a BulkIndexError.
Expand Down
Loading