This commit is contained in:
Dantenerosas 2023-09-25 15:48:00 +03:00 committed by nikili0n
parent e451988e38
commit cdacb1c77a

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 = [