fix(proxy_server.py): bump default db timeouts

This commit is contained in:
Krrish Dholakia 2024-04-03 09:35:08 -07:00
parent 2559d46c9d
commit f07500c5ea
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class LangFuseLogger:
from langfuse import Langfuse from langfuse import Langfuse
except Exception as e: except Exception as e:
raise Exception( 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 # Instance variables
self.secret_key = langfuse_secret or os.getenv("LANGFUSE_SECRET_KEY") 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_pool_limit = 100
db_connection_timeout = 60 db_connection_timeout = 120
if config is not None: if config is not None:
""" """
Allow user to pass in db url via config Allow user to pass in db url via config