Skip to content

Commit

Permalink
Merge pull request #1532 from deepakverma/ServerSelectionStrategy
Browse files Browse the repository at this point in the history
Don't set a default serverselection stratergy in case there was a fault getting the servertype
  • Loading branch information
NickCraver authored Aug 25, 2020
2 parents 046f135 + d2cc471 commit 026ce92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StackExchange.Redis/ConnectionMultiplexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ internal async Task<bool> ReconfigureAsync(bool first, bool reconfigureAll, LogP
{
ServerSelectionStrategy.ServerType = ServerType.Sentinel;
}
else
else if (standaloneCount > 0)
{
ServerSelectionStrategy.ServerType = ServerType.Standalone;
}
Expand Down

0 comments on commit 026ce92

Please sign in to comment.