From 381673870727c7e18571747fe1e7438793fb7e0d Mon Sep 17 00:00:00 2001 From: Abiel Date: Tue, 9 Jul 2024 00:26:03 -0600 Subject: [PATCH] Fix default transaction timeout --- Core/CkanTransaction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/CkanTransaction.cs b/Core/CkanTransaction.cs index f24865f8d0..cafdabfd4d 100644 --- a/Core/CkanTransaction.cs +++ b/Core/CkanTransaction.cs @@ -26,7 +26,7 @@ public static TransactionScope CreateTransactionScope() } // System.ArgumentOutOfRangeException : Time-out interval must be less than 2^32-2. (Parameter 'dueTime') - private const double timeoutMs = 4294967294d; + private const double timeoutMs = Int32.MaxValue; private static readonly TimeSpan maxCoretimeout = TimeSpan.FromMilliseconds(timeoutMs); private static readonly TransactionOptions transOpts = new TransactionOptions()