From b120130697ecb9b37052094efb59b5edfce1bd4c Mon Sep 17 00:00:00 2001 From: Alex Dunn <75815303+alexdunnjpl@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:01:35 -0700 Subject: [PATCH] fine-tune _bulk buffer flush for performance --- src/pds/registrysweepers/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pds/registrysweepers/utils/__init__.py b/src/pds/registrysweepers/utils/__init__.py index f42c10b..f4b01c0 100644 --- a/src/pds/registrysweepers/utils/__init__.py +++ b/src/pds/registrysweepers/utils/__init__.py @@ -214,7 +214,7 @@ def write_updated_docs(host: Host, ids_and_updates: Mapping[str, Dict], index_na """ log.info(f"Updating documents for {len(ids_and_updates)} products...") - bulk_buffer_max_size_mb = 20.0 + bulk_buffer_max_size_mb = 30.0 bulk_buffer_size_mb = 0.0 bulk_updates_buffer: List[str] = [] for lidvid, update_content in ids_and_updates.items():