fix(proxy_server.py): bump default db timeouts

This commit is contained in:
Krrish Dholakia 2024-04-03 09:35:08 -07:00
parent 96e0078b3a
commit 895073e68a
2 changed files with 2 additions and 2 deletions

View file

@ -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")

View file

@ -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