Skip to content

Commit 660e814

Browse files
SNOW-1944643 - network error retries
1 parent 9f81cb4 commit 660e814

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/connection/statement.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,9 @@ function sendSfRequest(statementContext, options, appendQueryParamOnRetry) {
14921492
// if we haven't exceeded the maximum number of retries yet and the server
14931493
// came back with a retryable error code
14941494
if (numRetries < maxNumRetries &&
1495-
err && (Util.isRetryableHttpError(err.response, false) || Util.isNetworkError(err))
1495+
err && (Util.isRetryableHttpError(err.response, false)
1496+
// || Util.isNetworkError(err)
1497+
)
14961498
) {
14971499
// increment the retry count
14981500
numRetries++;

0 commit comments

Comments
 (0)