up
This commit is contained in:
parent
31928cca48
commit
81d974262a
@ -29,6 +29,7 @@ app.add_middleware(
|
|||||||
|
|
||||||
|
|
||||||
async def is_task_already_done_or_exist(redis: RedisClient, link: str):
|
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()
|
messages = await redis.get_task_done_queue()
|
||||||
|
|
||||||
tasks = [
|
tasks = [
|
||||||
|
Loading…
Reference in New Issue
Block a user