mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix allow_failed_db_requests check
This commit is contained in:
parent
8d7934c4ba
commit
9b2861f11f
1 changed files with 1 additions and 1 deletions
|
|
@ -743,7 +743,7 @@ async def _handle_failed_db_connection_for_get_key_object(
|
|||
from litellm.proxy.proxy_server import general_settings, proxy_logging_obj
|
||||
|
||||
# If this flag is on, requests failing to connect to the DB will be allowed
|
||||
if general_settings.get("allow_failed_db_requests", True):
|
||||
if general_settings.get("allow_failed_db_requests", False) is True:
|
||||
# log to prometheus
|
||||
await proxy_logging_obj.service_logging_obj.async_service_failure_hook(
|
||||
error=e,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue