We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76f1fc commit 4db4918Copy full SHA for 4db4918
1 file changed
lf_toolkit/io/handler.py
@@ -59,8 +59,7 @@ async def handle_preview(self, req: dict):
59
60
async def handle_healthcheck(self, req: dict):
61
from .healthcheck import run_healthcheck
62
- result = await anyio.to_thread.run_sync(run_healthcheck)
63
- return {"status": "OK" if result["tests_passed"] else "DEGRADED"}
+ return await anyio.to_thread.run_sync(run_healthcheck)
64
65
async def handle(self, name: Command, req: dict) -> dict:
66
handler = getattr(self, f"handle_{name}", None)
0 commit comments