File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/net/snowflake/client Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -731,6 +731,7 @@ public static String executeGeneralRequest(
731731 *
732732 * @param httpRequest HttpRequestBase
733733 * @param retryTimeout retry timeout
734+ * @param authTimeout authenticator specific timeout
734735 * @param socketTimeout socket timeout (in ms)
735736 * @param retryCount max retry count for the request - if it is set to 0, it will be ignored and
736737 * only retryTimeout will determine when to end the retries
@@ -742,6 +743,7 @@ public static String executeGeneralRequest(
742743 public static String executeGeneralRequest (
743744 HttpRequestBase httpRequest ,
744745 int retryTimeout ,
746+ int authTimeout ,
745747 int socketTimeout ,
746748 int retryCount ,
747749 CloseableHttpClient httpClient )
@@ -750,7 +752,7 @@ public static String executeGeneralRequest(
750752 return executeRequestInternal (
751753 httpRequest ,
752754 retryTimeout ,
753- 0 ,
755+ authTimeout ,
754756 socketTimeout ,
755757 retryCount ,
756758 0 , // no inject socket timeout
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ private boolean sendBatch() throws IOException {
361361 ? HttpUtil .executeGeneralRequest (
362362 post ,
363363 TELEMETRY_HTTP_RETRY_TIMEOUT_IN_SEC ,
364+ 0 ,
364365 (int ) HttpUtil .getSocketTimeout ().toMillis (),
365366 0 ,
366367 this .httpClient )
You can’t perform that action at this time.
0 commit comments