This commit is contained in:
nikili0n 2023-09-25 15:48:00 +03:00 committed by Dantenerosas
parent 9d6d9947f5
commit 8bd1463401

View File

@ -29,6 +29,7 @@ app.add_middleware(
async def is_task_already_done_or_exist(redis: RedisClient, link: str):
# TODO: добавить real_link? пример - https://yandex.ru/video/preview/398425296752711999 будет грузить https://youtu.be/EjhRS4HUSJc
messages = await redis.get_task_done_queue()
tasks = [