Browse Source
Update Redis to not resolve DNS at startup (#1776)
Co-authored-by: Nish Anil <nish@microsoft.com>
pull/1809/head
Aaron Crawfis
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
src/Services/Basket/Basket.API/Startup.cs
|
|
@ -73,8 +73,6 @@ public class Startup |
|
|
|
var settings = sp.GetRequiredService<IOptions<BasketSettings>>().Value; |
|
|
|
var configuration = ConfigurationOptions.Parse(settings.ConnectionString, true); |
|
|
|
|
|
|
|
configuration.ResolveDns = true; |
|
|
|
|
|
|
|
return ConnectionMultiplexer.Connect(configuration); |
|
|
|
}); |
|
|
|
|
|
|
|