Add 30s to sleep

master
blank X 1 year ago
parent 5488fb457c
commit a19fa7097c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 2
      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:

Loading…
Cancel
Save