witnessmenow/Universal-Arduino-Telegram-Bot

bot.getUpdates Long wait without internet.

workpage2 opened this issue · 1 comments

In the absence of the Internet, bot.getUpdates hangs for 2 minutes.
How to shorten the timeout?

I found a solution! In the WiFiClientSecure.cpp file, you need to change the timeout from 120000 to 10000.