You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var dataSourceBuilder = new NpgsqlDataSourceBuilder(dbSettings.Value.ConnectionString);
dataSourceBuilder.BuildMultiHost();
It seems that this implementation implies a static connection string, but in our scenario we have our own ConfigurationProvider where we periodically update the list of hosts, for example, the database stopped coping with the load and additional replicas were added to it, it mean that we need to restart service. We need something like UsePeriodicPasswordProvider, ability update connection strings periodically