diff --git a/Core/CkanTransaction.cs b/Core/CkanTransaction.cs index f24865f8d..cafdabfd4 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()