increased retries
This commit is contained in:
parent
3a95015e12
commit
c8cf8bf804
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue