mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(proxy_server.py): bump default db timeouts
This commit is contained in:
parent
2559d46c9d
commit
f07500c5ea
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue