Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

increase upsert from CLI batch size default to 50 #96

Merged
merged 2 commits into from
Oct 24, 2023
Merged
Changes from all commits
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 src/resin_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def new(index_name: str, config: Optional[str]):
help="The name of the index to upload the data to. "
"Inferred from INDEX_NAME env var if not provided."
)
@click.option("--batch-size", default=10,
@click.option("--batch-size", default=50,
help="Number of documents to upload in each batch. Defaults to 10.")
@click.option("--allow-failures/--dont-allow-failures", default=False,
help="On default, the upsert process will stop if any document fails to "
Expand Down