From 817d5b5e597142ab62b09552476be40ce0849e0e Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 18 Jul 2025 19:47:47 +1200 Subject: [PATCH] don't use await in websocket handler as it blocks all other requests --- meshchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshchat.py b/meshchat.py index b76fb0e..5bc8f1a 100644 --- a/meshchat.py +++ b/meshchat.py @@ -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":