workpage2 opened this issue 2 years ago · 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.