File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,12 +213,11 @@ internal static void ConfigureEventStoreSettings(EventStoreClientSettings settin
213213 errors ) => true ,
214214 }
215215 } ;
216+
216217 settings . ConnectionName = Startup . Configuration . GetValue < String > ( "EventStoreSettings:ConnectionName" ) ;
217- settings . ConnectivitySettings = new EventStoreClientConnectivitySettings
218- {
219- Insecure = Startup . Configuration . GetValue < Boolean > ( "EventStoreSettings:Insecure" ) ,
220- Address = new Uri ( Startup . Configuration . GetValue < String > ( "EventStoreSettings:ConnectionString" ) ) ,
221- } ;
218+ settings . ConnectivitySettings = EventStoreClientConnectivitySettings . Default ;
219+ settings . ConnectivitySettings . Address = new Uri ( Startup . Configuration . GetValue < String > ( "EventStoreSettings:ConnectionString" ) ) ;
220+ settings . ConnectivitySettings . Insecure = Startup . Configuration . GetValue < Boolean > ( "EventStoreSettings:Insecure" ) ;
222221
223222 settings . DefaultCredentials = new UserCredentials ( Startup . Configuration . GetValue < String > ( "EventStoreSettings:UserName" ) ,
224223 Startup . Configuration . GetValue < String > ( "EventStoreSettings:Password" ) ) ;
You can’t perform that action at this time.
0 commit comments