From 980763040810ad2c5187de62911c6da08233df2c Mon Sep 17 00:00:00 2001 From: Jordan Homan Date: Wed, 30 Oct 2024 11:09:36 -0400 Subject: [PATCH] increase max concurrency to 50 --- src/unstructured_client/_hooks/custom/split_pdf_hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unstructured_client/_hooks/custom/split_pdf_hook.py b/src/unstructured_client/_hooks/custom/split_pdf_hook.py index 7860d9bc..3a2b91c0 100644 --- a/src/unstructured_client/_hooks/custom/split_pdf_hook.py +++ b/src/unstructured_client/_hooks/custom/split_pdf_hook.py @@ -40,8 +40,8 @@ DEFAULT_STARTING_PAGE_NUMBER = 1 DEFAULT_ALLOW_FAILED = False -DEFAULT_CONCURRENCY_LEVEL = 8 -MAX_CONCURRENCY_LEVEL = 15 +DEFAULT_CONCURRENCY_LEVEL = 10 +MAX_CONCURRENCY_LEVEL = 50 MIN_PAGES_PER_SPLIT = 2 MAX_PAGES_PER_SPLIT = 20