1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

add setting up of socketTimeoutMillis inside of abstract request call factory for GetUpdates

This commit is contained in:
InsanusMokrassar 2020-03-19 12:41:16 +06:00
parent 518dee46b3
commit b3391330a0

View File

@ -35,6 +35,7 @@ abstract class AbstractRequestCallFactory : KtorCallFactory {
if (customTimeoutMillis > 0) {
timeout {
requestTimeoutMillis = customTimeoutMillis
socketTimeoutMillis = customTimeoutMillis
}
}
}