fix(api): cache the health update check and fix a remote-session test fixture

This commit is contained in:
imSp4rky
2026-10-27 13:38:57 -06:00
parent 756c2ce2b5
commit 9f86464826
5 changed files with 5 additions and 31 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ async def health(request: web.Request) -> web.Response:
nullable: true
"""
try:
latest_version = await UpdateChecker.check_for_updates(__version__)
latest_version = await asyncio.to_thread(UpdateChecker.check_for_updates_sync, __version__)
update_info = {
"update_available": latest_version is not None,
"current_version": __version__,