timeout
This commit is contained in:
parent
04d39d0fce
commit
955213c898
@ -73,7 +73,7 @@ class MasterService:
|
||||
loop = asyncio.new_event_loop()
|
||||
asyncio.set_event_loop(loop)
|
||||
f: asyncio.Future = asyncio.run_coroutine_threadsafe(downloader.video_download(), loop)
|
||||
r = f.result(60)
|
||||
r = f.result(600)
|
||||
# loop.close()
|
||||
return r
|
||||
case _:
|
||||
|
Loading…
Reference in New Issue
Block a user