From 955213c8986956f1873869dddb2108a7204449e6 Mon Sep 17 00:00:00 2001 From: Dantenerosas Date: Wed, 18 Oct 2023 00:50:28 +0300 Subject: [PATCH] timeout --- src/core/master_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/master_service.py b/src/core/master_service.py index 50661a2..268817e 100644 --- a/src/core/master_service.py +++ b/src/core/master_service.py @@ -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 _: