mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
feat(health_check.py): set upperbound for api when making health check call (#7865)
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 10s
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 10s
* feat(health_check.py): set upperbound for api when making health check call prevent bad model from health check to hang and cause pod restarts * fix(health_check.py): cleanup task once completed * fix(constants.py): bump default health check timeout to 1min * docs(health.md): add 'health_check_timeout' to health docs on litellm * build(proxy_server_config.yaml): add bad model to health check
This commit is contained in:
parent
e67f18b153
commit
3a7b13efa2
9 changed files with 111 additions and 12 deletions
|
@ -140,3 +140,5 @@ BEDROCK_AGENT_RUNTIME_PASS_THROUGH_ROUTES = [
|
|||
|
||||
BATCH_STATUS_POLL_INTERVAL_SECONDS = 3600 # 1 hour
|
||||
BATCH_STATUS_POLL_MAX_ATTEMPTS = 24 # for 24 hours
|
||||
|
||||
HEALTH_CHECK_TIMEOUT_SECONDS = 60 # 60 seconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue