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

Commit

Permalink
increase upsert from CLI batch size default to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
acatav committed Oct 24, 2023
1 parent 62d16c9 commit 4afac34
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 4afac34

Please sign in to comment.