mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
parent
3835157f41
commit
f545d2b716
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ class UpdateCheckThread(QThread, Logger):
|
|||
self.main_window = main_window
|
||||
|
||||
async def get_update_info(self):
|
||||
async with make_aiohttp_session(proxy=self.main_window.network.proxy) as session:
|
||||
# note: Use long timeout here as it is not critical that we get a response fast,
|
||||
# and it's bad not to get an update notification just because we did not wait enough.
|
||||
async with make_aiohttp_session(proxy=self.main_window.network.proxy, timeout=120) as session:
|
||||
async with session.get(UpdateCheck.url) as result:
|
||||
signed_version_dict = await result.json(content_type=None)
|
||||
# example signed_version_dict:
|
||||
|
|
Loading…
Add table
Reference in a new issue