Skip to content

Commit 71d5f45

Browse files
committed
Fixed empty string for value of property
1 parent 3b22505 commit 71d5f45

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/core/MerchantConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ private void ValidateProperties()
627627

628628
if (string.IsNullOrEmpty(TimeOut))
629629
{
630-
TimeOut = string.Empty; // In Millisec
630+
TimeOut = Constants.DEFAULT_TIME_OUT; // In Millisec
631631
}
632632

633633
// setting up hostname based on the run environment value

cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/util/Constants.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public static class Constants
4242

4343
public static readonly string LOG_REQUEST_AFTER_MLE = "LOG_REQUEST_AFTER_MLE: ";
4444

45+
public static readonly string DEFAULT_TIME_OUT = "100000"; // Time in milliseconds
46+
4547
public static readonly string DefaultMaxConnectionPoolSize = $"{int.MaxValue}";
4648

4749
// https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.timeout?view=net-9.0

0 commit comments

Comments
 (0)