Skip to content

Commit 844c27b

Browse files
SNOW-1944643 - network error retries
1 parent 5df04d5 commit 844c27b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/connection/statement.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,9 @@ function sendSfRequest(statementContext, options, appendQueryParamOnRetry) {
14861486
// if we haven't exceeded the maximum number of retries yet and the server
14871487
// came back with a retryable error code
14881488
if (numRetries < maxNumRetries &&
1489-
err && (Util.isRetryableHttpError(err.response, false) || Util.isNetworkError(err))
1489+
err && (Util.isRetryableHttpError(err.response, false)
1490+
// || Util.isNetworkError(err)
1491+
)
14901492
) {
14911493
// increment the retry count
14921494
numRetries++;

0 commit comments

Comments
 (0)