From 7b6c201f59665359bc88ae16dec4e378a2631463 Mon Sep 17 00:00:00 2001 From: Angus Jelinek Date: Wed, 18 Dec 2024 14:06:43 -1000 Subject: [PATCH] Use more threads for backend requests --- python/langsmith/_internal/_background_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/langsmith/_internal/_background_thread.py b/python/langsmith/_internal/_background_thread.py index 8257ecf14..33be46e57 100644 --- a/python/langsmith/_internal/_background_thread.py +++ b/python/langsmith/_internal/_background_thread.py @@ -37,7 +37,7 @@ logger = logging.getLogger("langsmith.client") HTTP_REQUEST_THREAD_POOL = concurrent.futures.ThreadPoolExecutor( - max_workers=cpu_count() + max_workers=cpu_count()*3 )