mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-29 19:36:31 -05:00
don't use await in websocket handler as it blocks all other requests
This commit is contained in:
parent
a094a741a8
commit
817d5b5e59
1 changed files with 1 additions and 1 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue