fix tracking hanging requests

This commit is contained in:
Ishaan Jaff 2024-07-16 17:12:59 -07:00 committed by Krrish Dholakia
parent 36be9967d1
commit 6c918f2373

View file

@ -285,7 +285,8 @@ class ProxyLogging:
return
# current alerting threshold
alerting_threshold = self.alerting_threshold or 120
# add a 100 second buffer to the alerting threshold
alerting_threshold = self.alerting_threshold or 120 + 100
await self.internal_usage_cache.async_set_cache(
key="request_status:{}".format(litellm_call_id),