rubenlagus / TelegramBots

Java library to create bots using Telegram Bots API
https://telegram.me/JavaBotsApi
MIT License
4.77k stars 1.22k forks source link

Whether maxConnTotal can be modified as a configurable item #1281

Closed prog-ape closed 4 months ago

prog-ape commented 1 year ago

org.telegram.telegrambots.facilities.TelegramHttpClientBuilder

public static CloseableHttpClient build(DefaultBotOptions options) { HttpClientBuilder httpClientBuilder = HttpClientBuilder.create() .setSSLHostnameVerifier(new NoopHostnameVerifier()) .setConnectionManager(createConnectionManager(options)) .setConnectionTimeToLive(70, TimeUnit.SECONDS) .setMaxConnTotal(100); return httpClientBuilder.build(); }

Whether maxConnTotal can be modified as a configurable item?

rubenlagus commented 4 months ago

Related to <7.0 versions