From 4fe15b14ab140ccb3a70345c9aa4888700e842b1 Mon Sep 17 00:00:00 2001 From: Ritesh Varyani Date: Fri, 28 Jun 2024 03:02:56 +0530 Subject: [PATCH 1/2] Update RoutingManager.java --- .../java/com/lyft/data/gateway/ha/router/RoutingManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gateway-ha/src/main/java/com/lyft/data/gateway/ha/router/RoutingManager.java b/gateway-ha/src/main/java/com/lyft/data/gateway/ha/router/RoutingManager.java index d7b44f2c..c7eb67dc 100644 --- a/gateway-ha/src/main/java/com/lyft/data/gateway/ha/router/RoutingManager.java +++ b/gateway-ha/src/main/java/com/lyft/data/gateway/ha/router/RoutingManager.java @@ -123,8 +123,8 @@ protected String findBackendForUnknownQueryId(String queryId) { () -> { URL url = new URL(target); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); - conn.setConnectTimeout((int) TimeUnit.SECONDS.toMillis(5)); - conn.setReadTimeout((int) TimeUnit.SECONDS.toMillis(5)); + conn.setConnectTimeout((int) TimeUnit.SECONDS.toMillis(60)); + conn.setReadTimeout((int) TimeUnit.SECONDS.toMillis(60)); conn.setRequestMethod(HttpMethod.HEAD); return conn.getResponseCode(); }); From e1b6ee46f2a20e873de3447d621ac91808f4b04b Mon Sep 17 00:00:00 2001 From: Ritesh Varyani Date: Thu, 27 Jun 2024 14:36:09 -0700 Subject: [PATCH 2/2] push --- baseapp/pom.xml | 6 ++---- gateway-ha/pom.xml | 12 ++++-------- pom.xml | 6 ++---- proxyserver/pom.xml | 6 ++---- 4 files changed, 10 insertions(+), 20 deletions(-) diff --git a/baseapp/pom.xml b/baseapp/pom.xml index da5cf983..c6be2d49 100644 --- a/baseapp/pom.xml +++ b/baseapp/pom.xml @@ -1,13 +1,11 @@ - + 4.0.0 com.lyft.data prestogateway-parent - 1.9.5 + 1.9.6-SNAPSHOT ../ diff --git a/gateway-ha/pom.xml b/gateway-ha/pom.xml index e4cece0f..8b321801 100644 --- a/gateway-ha/pom.xml +++ b/gateway-ha/pom.xml @@ -1,14 +1,12 @@ - + 4.0.0 com.lyft.data prestogateway-parent - 1.9.5 + 1.9.6-SNAPSHOT ../ @@ -201,10 +199,8 @@ - - + + ${app.main.class} diff --git a/pom.xml b/pom.xml index 81f2b6cd..69331ab5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,5 @@ - + 4.0.0 @@ -9,7 +7,7 @@ prestogateway-parent prestogateway-parent pom - 1.9.5 + 1.9.6-SNAPSHOT 1.8 diff --git a/proxyserver/pom.xml b/proxyserver/pom.xml index 812209ac..d14b6999 100644 --- a/proxyserver/pom.xml +++ b/proxyserver/pom.xml @@ -1,14 +1,12 @@ - + 4.0.0 com.lyft.data prestogateway-parent - 1.9.5 + 1.9.6-SNAPSHOT ../