increased retries

This commit is contained in:
Nikita Aksenov 2025-03-26 12:58:18 +03:00
parent 3a95015e12
commit c8cf8bf804
No known key found for this signature in database
GPG key ID: 9DC1431B2123B2E8

View file

@ -146,7 +146,7 @@ async def get_message_text() -> str:
return text return text
async def send_deadlines(chat_id: int) -> None: async def send_deadlines(chat_id: int) -> None:
retries = 3 retries = 20
for attempt in range(retries): for attempt in range(retries):
try: try:
text = await get_message_text() text = await get_message_text()