mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
don't use await in websocket handler as it blocks all other requests
This commit is contained in:
parent
24acbaf223
commit
a094a741a8
1 changed files with 1 additions and 1 deletions
|
|
@ -2221,7 +2221,7 @@ class ReticulumMeshChat:
|
|||
|
||||
# download the page
|
||||
downloader = NomadnetPageDownloader(destination_hash, page_path_to_download, combined_data, on_page_download_success, on_page_download_failure, on_page_download_progress)
|
||||
await downloader.download()
|
||||
AsyncUtils.run_async(downloader.download())
|
||||
|
||||
# unhandled type
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue