increase timeout

This commit is contained in:
bakatrouble 2019-06-19 19:46:33 +03:00
parent 17b65bb26e
commit bb1e3361a2

View File

@ -65,5 +65,5 @@ class VKMusicFeedModuleConfig(FeedModuleConfig):
for track in lst: for track in lst:
f = get_file(track['url'], vk_session.http) f = get_file(track['url'], vk_session.http)
bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'], bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'],
title=track['title']) title=track['title'], timeout=30)
yield track['id'] yield track['id']