Closed UltraCoderRU closed 1 year ago
Timeout set before async_write was not reset before async_read, so it limited maximum long-poll timeout to 30 seconds. Telegram long-polling seems to support timeout for up to 50 seconds, so I set async_read timeout to 60 seconds.
Fixed the same problem for blocking agent.
LGTM, merged. Thank you!
Timeout set before async_write was not reset before async_read, so it limited maximum long-poll timeout to 30 seconds. Telegram long-polling seems to support timeout for up to 50 seconds, so I set async_read timeout to 60 seconds.