forked from phoenix/litellm-mirror
fix(test_parallel_request_limiter): increase time limit for waiting for success logging event to happen
This commit is contained in:
parent
d170e6e83a
commit
bbe71c8375
3 changed files with 11 additions and 3 deletions
|
@ -21,6 +21,7 @@ from datetime import datetime, timedelta
|
|||
|
||||
|
||||
def print_verbose(print_statement):
|
||||
verbose_proxy_logger.debug(print_statement)
|
||||
if litellm.set_verbose:
|
||||
print(f"LiteLLM Proxy: {print_statement}") # noqa
|
||||
|
||||
|
@ -96,6 +97,7 @@ class ProxyLogging:
|
|||
2. /embeddings
|
||||
3. /image/generation
|
||||
"""
|
||||
print_verbose(f"Inside Proxy Logging Pre-call hook!")
|
||||
### ALERTING ###
|
||||
asyncio.create_task(self.response_taking_too_long(request_data=data))
|
||||
|
||||
|
@ -1035,7 +1037,7 @@ async def send_email(sender_name, sender_email, receiver_email, subject, html):
|
|||
print_verbose(f"SMTP Connection Init")
|
||||
# Establish a secure connection with the SMTP server
|
||||
with smtplib.SMTP(smtp_host, smtp_port) as server:
|
||||
if os.getenv("SMTP_TLS", 'True') != "False":
|
||||
if os.getenv("SMTP_TLS", "True") != "False":
|
||||
server.starttls()
|
||||
|
||||
# Login to your email account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue