timeout
This commit is contained in:
parent
be792ca57f
commit
70f25f3e36
@ -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