From c4d358a0acdc603e310589c2bf023a853dc070c2 Mon Sep 17 00:00:00 2001 From: Louie Farol Date: Fri, 6 Dec 2024 17:00:51 -0800 Subject: [PATCH] Revert BOM --- Snowflake.Data.Tests/Mock/MockSnowflakeDbConnection.cs | 2 +- Snowflake.Data/Core/HttpUtil.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Snowflake.Data.Tests/Mock/MockSnowflakeDbConnection.cs b/Snowflake.Data.Tests/Mock/MockSnowflakeDbConnection.cs index a5c0cd57e..c6d8f0698 100644 --- a/Snowflake.Data.Tests/Mock/MockSnowflakeDbConnection.cs +++ b/Snowflake.Data.Tests/Mock/MockSnowflakeDbConnection.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2021 Snowflake Computing Inc. All rights reserved. */ diff --git a/Snowflake.Data/Core/HttpUtil.cs b/Snowflake.Data/Core/HttpUtil.cs index 63cb1b531..fa52348e8 100644 --- a/Snowflake.Data/Core/HttpUtil.cs +++ b/Snowflake.Data/Core/HttpUtil.cs @@ -406,8 +406,7 @@ protected override async Task SendAsync(HttpRequestMessage } else if (childCts != null && childCts.Token.IsCancellationRequested) { - logger.Warn("Http request timeout. Retry the request"); - totalRetryTime += (int)httpTimeout.TotalSeconds; + logger.Warn($"Http request timeout. Retry the request after max {backOffInSec} sec."); } else {