This commit is contained in:
Dantenerosas 2023-09-25 15:48:00 +03:00
parent 5eeddf0445
commit 67ea636db0

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