Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0850b6e

Browse files
authoredJan 8, 2025
1 minute timeout
1 parent 8d69376 commit 0850b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎v3/timerbot31.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def send_media_chunk(bot, chat_id, successful_medias):
715715
for i in range(0, total_med, CHUNK_SIZE):
716716
chunk = successful_medias[i:i + CHUNK_SIZE]
717717
try:
718-
bot.send_media_group(chat_id=chat_id, media=chunk, write_timeout=120)
718+
bot.send_media_group(chat_id=chat_id, media=chunk, write_timeout=60)
719719
except RetryAfter as e:
720720
time.sleep(e.retry_after)
721721
bot.send_media_group(chat_id=chat_id, media=chunk)

0 commit comments

Comments
 (0)
Please sign in to comment.