mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
add setting up of socketTimeoutMillis inside of abstract request call factory for GetUpdates
This commit is contained in:
parent
518dee46b3
commit
b3391330a0
@ -35,6 +35,7 @@ abstract class AbstractRequestCallFactory : KtorCallFactory {
|
||||
if (customTimeoutMillis > 0) {
|
||||
timeout {
|
||||
requestTimeoutMillis = customTimeoutMillis
|
||||
socketTimeoutMillis = customTimeoutMillis
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user