Closed prog-ape closed 4 months 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?
Related to <7.0 versions
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?