Skip to content

Commit

Permalink
Use more threads for backend requests
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-langchain committed Dec 19, 2024
1 parent fbc217f commit 7b6c201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/langsmith/_internal/_background_thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)


Expand Down

0 comments on commit 7b6c201

Please sign in to comment.