From 4afac34df29c53c6f01fbc2809c83ac920ce9e7b Mon Sep 17 00:00:00 2001 From: Amnon Catav Date: Tue, 24 Oct 2023 16:46:55 +0300 Subject: [PATCH] increase upsert from CLI batch size default to 50 --- src/resin_cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resin_cli/cli.py b/src/resin_cli/cli.py index b34b71ed..d921ae87 100644 --- a/src/resin_cli/cli.py +++ b/src/resin_cli/cli.py @@ -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 "