Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit cf740b6

Browse files
committed
Also allow RedisSentinel to skip verifying masters with RedisConfig.VerifyMasterConnections
1 parent b55a4f5 commit cf740b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.Redis/RedisSentinelResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public virtual RedisClient CreateRedisClient(RedisEndpoint config, bool master)
160160
}
161161
}
162162

163-
if (role != RedisServerRole.Master)
163+
if (role != RedisServerRole.Master && RedisConfig.VerifyMasterConnections)
164164
{
165165
try
166166
{

0 commit comments

Comments
 (0)