Skip to content

Commit

Permalink
Code changes to disable replica validation in preview package.
Browse files Browse the repository at this point in the history
  • Loading branch information
kundadebdatta committed Aug 8, 2023
1 parent c46614b commit 569bfaf
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 569bfaf

Please sign in to comment.