From 994770f18226ce6eaafac637e8e649e5c8373de0 Mon Sep 17 00:00:00 2001 From: James A Sutherland <> Date: Fri, 28 Jul 2023 09:38:15 -0500 Subject: [PATCH] Make ProgressLog timeout 1 hour - insane for single-row inserts, but 2 minutes is still too short... --- Rdmp.Core/Logging/DataLoadInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rdmp.Core/Logging/DataLoadInfo.cs b/Rdmp.Core/Logging/DataLoadInfo.cs index b4e2d43099..27a6f4d167 100644 --- a/Rdmp.Core/Logging/DataLoadInfo.cs +++ b/Rdmp.Core/Logging/DataLoadInfo.cs @@ -254,7 +254,7 @@ public void LogProgress(ProgressEventType pevent, string source, string descript using var cmdRecordProgress = DatabaseSettings.GetCommand( "INSERT INTO ProgressLog (dataLoadRunID,eventType,source,description,time) VALUES (@dataLoadRunID,@eventType,@source,@description,@time);", con); - cmdRecordProgress.CommandTimeout = 120; + cmdRecordProgress.CommandTimeout = 3600; con.Open(); DatabaseSettings.AddParameterWithValueToCommand("@dataLoadRunID", cmdRecordProgress, ID); @@ -269,7 +269,7 @@ public void LogProgress(ProgressEventType pevent, string source, string descript using var cmdRecordSlowWarning = DatabaseSettings.GetCommand( "INSERT INTO ProgressLog (dataLoadRunID,eventType,source,description,time) VALUES (@dataLoadRunID,@eventType,@source,@description,@time);", con); - cmdRecordSlowWarning.CommandTimeout = 120; + cmdRecordSlowWarning.CommandTimeout = 3600; DatabaseSettings.AddParameterWithValueToCommand("@dataLoadRunID", cmdRecordSlowWarning, ID); DatabaseSettings.AddParameterWithValueToCommand("@eventType", cmdRecordSlowWarning,