diff --git a/jimmy/config.py b/jimmy/config.py index b09d829..0641de6 100644 --- a/jimmy/config.py +++ b/jimmy/config.py @@ -27,7 +27,7 @@ class ServerConfig(BaseModel): """ Checks that the current server is online and responding to requests. """ - async with httpx.AsyncClient(base_url=str(self.base_url)) as client: + async with httpx.AsyncClient(base_url=str(self.base_url), timeout=httpx.Timeout(2.25)) as client: try: response = await client.get("/api/tags") return response.status_code == 200