File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
src/libraries/System.Transactions.Local/src/System/Transactions/Configuration Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,5 @@ namespace System.Transactions.Configuration
6
6
internal static class ConfigurationStrings
7
7
{
8
8
internal const string DefaultDistributedTransactionManagerName = "" ;
9
- internal const string DefaultMaxTimeout = "00:10:00" ;
10
- internal const string DefaultTimeout = "00:01:00" ;
11
9
}
12
10
}
Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ namespace System.Transactions.Configuration
6
6
internal sealed class DefaultSettingsSection // ConfigurationSection
7
7
{
8
8
private static readonly DefaultSettingsSection s_section = new DefaultSettingsSection ( ) ;
9
- private static readonly TimeSpan s_timeout = TimeSpan . Parse ( ConfigurationStrings . DefaultTimeout ) ;
10
9
11
10
internal static DefaultSettingsSection GetSection ( ) => s_section ;
12
11
13
12
public static string DistributedTransactionManagerName { get ; set ; } = ConfigurationStrings . DefaultDistributedTransactionManagerName ;
14
13
15
- public static TimeSpan Timeout => s_timeout ;
14
+ public static TimeSpan Timeout => TimeSpan . FromMinutes ( 1 ) ;
16
15
}
17
16
}
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ namespace System.Transactions.Configuration
6
6
internal sealed class MachineSettingsSection // ConfigurationSection
7
7
{
8
8
private static readonly MachineSettingsSection s_section = new MachineSettingsSection ( ) ;
9
- private static readonly TimeSpan s_maxTimeout = TimeSpan . Parse ( ConfigurationStrings . DefaultMaxTimeout ) ;
10
9
11
10
internal static MachineSettingsSection GetSection ( ) => s_section ;
12
11
13
- public static TimeSpan MaxTimeout => s_maxTimeout ;
12
+ public static TimeSpan MaxTimeout => TimeSpan . FromMinutes ( 10 ) ;
14
13
}
15
14
}
You can’t perform that action at this time.
0 commit comments