From 87c64f903ef1aa532fd327e330cc87969ff34161 Mon Sep 17 00:00:00 2001 From: Ritesh Varyani Date: Wed, 10 Jul 2024 03:11:26 +0530 Subject: [PATCH] Update ProxyServletImpl.java --- .../java/com/lyft/data/proxyserver/ProxyServletImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/proxyserver/src/main/java/com/lyft/data/proxyserver/ProxyServletImpl.java b/proxyserver/src/main/java/com/lyft/data/proxyserver/ProxyServletImpl.java index 8a1c36c2..48261769 100644 --- a/proxyserver/src/main/java/com/lyft/data/proxyserver/ProxyServletImpl.java +++ b/proxyserver/src/main/java/com/lyft/data/proxyserver/ProxyServletImpl.java @@ -45,10 +45,7 @@ protected HttpClient newHttpClient() { HttpClient httpClient = new HttpClient(sslFactory); httpClient.setMaxConnectionsPerDestination(10000); - httpClient.setConnectTimeout(TimeUnit.SECONDS.toMillis(65)); - httpClient.setIdleTimeout(TimeUnit.SECONDS.toMillis(65)); - httpClient.setRequestBufferSize(2048000); - httpClient.setResponseBufferSize(2048000); + httpClient.setConnectTimeout(TimeUnit.SECONDS.toMillis(60)); return httpClient; }