Skip to content

Commit

Permalink
Code changes to disable replica validation in preview package. (#4019)
Browse files Browse the repository at this point in the history
  • Loading branch information
kundadebdatta authored Aug 8, 2023
1 parent c46614b commit e05e3eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Microsoft.Azure.Cosmos/src/Util/ConfigurationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ public static bool IsReplicaAddressValidationEnabled(
ConnectionPolicy connectionPolicy)
{
bool replicaValidationDefaultValue = false;
#if PREVIEW
replicaValidationDefaultValue = true;
#endif

if (connectionPolicy != null
&& connectionPolicy.EnableAdvancedReplicaSelectionForTcp.HasValue)
{
Expand Down

0 comments on commit e05e3eb

Please sign in to comment.