Skip to content

Commit 33ab09e

Browse files
authored
fix(deployer): decrease chunk size (#317)
1 parent 5c9e1c7 commit 33ab09e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deployer/src/deployer/search/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ def get_progressbar():
9393
for success, info in streaming_bulk(
9494
connection,
9595
generator(),
96-
chunk_size=250, # default: 500
97-
max_chunk_bytes=52428800, # default: 104857600
96+
chunk_size=125, # default: 500
97+
max_chunk_bytes=26214400, # default: 104857600
9898
max_retries=4, # default: 0
9999
# If the bulk indexing failed, it will by default raise a BulkIndexError.
100100
# Setting this to 'False' will suppress that.

0 commit comments

Comments
 (0)