From 5ffbc0b4c82d0b0bcde10578a1b52d29630c9fa6 Mon Sep 17 00:00:00 2001 From: Lukas Sembera Date: Mon, 22 Jul 2024 18:40:49 +0200 Subject: [PATCH] SNOW-1512935 Reduce client socket timeout from 5 minutes to 1 minute (#795) --- src/main/java/net/snowflake/ingest/utils/HttpUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/snowflake/ingest/utils/HttpUtil.java b/src/main/java/net/snowflake/ingest/utils/HttpUtil.java index 1be382797..0da6370f7 100644 --- a/src/main/java/net/snowflake/ingest/utils/HttpUtil.java +++ b/src/main/java/net/snowflake/ingest/utils/HttpUtil.java @@ -79,7 +79,7 @@ public class HttpUtil { private static final ReentrantLock idleConnectionMonitorThreadLock = new ReentrantLock(true); private static final int DEFAULT_CONNECTION_TIMEOUT_MINUTES = 1; - private static final int DEFAULT_HTTP_CLIENT_SOCKET_TIMEOUT_MINUTES = 5; + private static final int DEFAULT_HTTP_CLIENT_SOCKET_TIMEOUT_MINUTES = 1; /** * After how many seconds of inactivity should be idle connections evicted from the connection