Add 30s to sleep
This commit is contained in:
parent
5488fb457c
commit
a19fa7097c
|
@ -180,7 +180,7 @@ async def _video_worker():
|
||||||
is_manifest = True
|
is_manifest = True
|
||||||
break
|
break
|
||||||
if is_manifest:
|
if is_manifest:
|
||||||
await asyncio.sleep(video_json['duration'])
|
await asyncio.sleep(video_json['duration'] + 30)
|
||||||
try:
|
try:
|
||||||
await client.send_message(config['config']['storage_chat_id'], f'Failed to download video {video_json["id"]}, please check logs', parse_mode=None)
|
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:
|
except BaseException:
|
||||||
|
|
Loading…
Reference in New Issue