mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 10:46:41 +00:00
fix: remove asyncio.TimeoutError since Python update (#2476)
# What does this PR do? Since we now support Pythong starting from 3.11, this is not needed anymore. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
6039d922c0
commit
fa1d986f72
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class VectorIORouter(VectorIO):
|
|||
continue
|
||||
health = await asyncio.wait_for(impl.health(), timeout=timeout)
|
||||
health_statuses[provider_id] = health
|
||||
except (asyncio.TimeoutError, TimeoutError):
|
||||
except TimeoutError:
|
||||
health_statuses[provider_id] = HealthResponse(
|
||||
status=HealthStatus.ERROR,
|
||||
message=f"Health check timed out after {timeout} seconds",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue