This commit is contained in:
ArabCoders 2024-03-13 22:49:40 +03:00
parent d24a241579
commit 5098244193

View file

@ -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,