From 625f25fe6a12edee6e3613f3ba8b3bc9060f28f1 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 31 Oct 2024 08:07:54 -0700 Subject: [PATCH] reduce number of pool connections --- app/clients/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/clients/__init__.py b/app/clients/__init__.py index 19b719c1c..7f1509896 100644 --- a/app/clients/__init__.py +++ b/app/clients/__init__.py @@ -16,7 +16,9 @@ AWS_CLIENT_CONFIG = Config( # This is the default but just for doc sake # there may come a time when increasing this helps # with job cache management. - max_pool_connections=10, + # max_pool_connections=10, + # Reducing to 4 connections due to BrokenPipeErrors + max_pool_connections=4, )