From 5098244193ce42b32c571e899d8b5f8961903194 Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Wed, 13 Mar 2024 22:49:40 +0300 Subject: [PATCH] fix --- app/DownloadQueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/DownloadQueue.py b/app/DownloadQueue.py index 2799a063..a8d32228 100644 --- a/app/DownloadQueue.py +++ b/app/DownloadQueue.py @@ -229,7 +229,7 @@ class DownloadQueue: started = time.perf_counter() LOG.debug(f'extract_info: checking {url=}') - with ThreadPoolExecutor as executor: + with ThreadPoolExecutor(1) as executor: entry = await asyncio.wait_for( fut=asyncio.get_running_loop().run_in_executor( executor,