don't use await in websocket handler as it blocks all other requests

This commit is contained in:
liamcottle 2025-07-18 19:47:47 +12:00
parent a094a741a8
commit 817d5b5e59

View file

@ -2147,7 +2147,7 @@ class ReticulumMeshChat:
# download the file
downloader = NomadnetFileDownloader(destination_hash, file_path, on_file_download_success, on_file_download_failure, on_file_download_progress)
await downloader.download()
AsyncUtils.run_async(downloader.download())
# handle downloading a page from a nomadnet node
elif _type == "nomadnet.page.download":