File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 <!-- primary library -->
1313 <PackageVersion Include =" NetTopologySuite" Version =" 2.6.0" />
1414 <PackageVersion Include =" System.Text.Json" Version =" 10.0.8" />
15- <PackageVersion Include =" StackExchange.Redis" Version =" 2.13.17 " />
15+ <PackageVersion Include =" StackExchange.Redis" Version =" 3.0.0 " />
1616 <!-- tests, etc -->
1717 <PackageVersion Include =" BouncyCastle.Cryptography" Version =" 2.6.2" />
1818 <PackageVersion Include =" coverlet.collector" Version =" 10.0.1" />
2828 <PackageVersion Include =" xunit.v3.runner.console" Version =" 3.0.0" />
2929 <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.1.5" />
3030 </ItemGroup >
31- </Project >
31+ </Project >
Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ public ConnectionMultiplexer GetConnectionById(ConfigurationOptions configuratio
128128 {
129129 var options = configurationOptions . Clone ( ) ; // isolate before we start applying the protocol
130130 options . Protocol = protocol . IsResp3 ( ) ? RedisProtocol . Resp3 : RedisProtocol . Resp2 ;
131+ options . AllowAdmin = true ; // from 3.0, Execute[Async] does a better job of recognizing admin commands
131132 options . HighIntegrity = protocol . IsHighIntegrity ( ) ;
132133 options . ConnectTimeout = 2000 ;
133134 if ( shareConnection ) options . AbortOnConnectFail = false ;
@@ -170,4 +171,4 @@ public bool IsTargetConnectionExist(string id)
170171 {
171172 return redisEndpoints . ContainsKey ( id ) ;
172173 }
173- }
174+ }
You can’t perform that action at this time.
0 commit comments