From a19fa7097c7aea44e07b1f99f08ba57d36810a2c Mon Sep 17 00:00:00 2001 From: blank X Date: Sat, 10 Apr 2021 12:51:46 +0700 Subject: [PATCH] Add 30s to sleep --- autoytarchive/workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoytarchive/workers.py b/autoytarchive/workers.py index 0f5aa74..c150b95 100644 --- a/autoytarchive/workers.py +++ b/autoytarchive/workers.py @@ -180,7 +180,7 @@ async def _video_worker(): is_manifest = True break if is_manifest: - await asyncio.sleep(video_json['duration']) + await asyncio.sleep(video_json['duration'] + 30) try: await client.send_message(config['config']['storage_chat_id'], f'Failed to download video {video_json["id"]}, please check logs', parse_mode=None) except BaseException: