From 895073e68a86fa1309992c80df48df5d4152f236 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 3 Apr 2024 09:35:08 -0700 Subject: [PATCH] fix(proxy_server.py): bump default db timeouts --- litellm/integrations/langfuse.py | 2 +- litellm/proxy/proxy_cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/integrations/langfuse.py b/litellm/integrations/langfuse.py index db7dcb8cdf..52a0dc0fff 100644 --- a/litellm/integrations/langfuse.py +++ b/litellm/integrations/langfuse.py @@ -17,7 +17,7 @@ class LangFuseLogger: from langfuse import Langfuse except Exception as e: raise Exception( - f"\033[91mLangfuse not installed, try running 'pip install langfuse' to fix this error: {e}\033[0m" + f"\033[91mLangfuse not installed, try running 'pip install langfuse' to fix this error: {e}\n{traceback.format_exc()}\033[0m" ) # Instance variables self.secret_key = langfuse_secret or os.getenv("LANGFUSE_SECRET_KEY") diff --git a/litellm/proxy/proxy_cli.py b/litellm/proxy/proxy_cli.py index b8d7926963..1ea4af77a4 100644 --- a/litellm/proxy/proxy_cli.py +++ b/litellm/proxy/proxy_cli.py @@ -410,7 +410,7 @@ def run_server( ) db_connection_pool_limit = 100 - db_connection_timeout = 60 + db_connection_timeout = 120 if config is not None: """ Allow user to pass in db url via config