public void RunLinearizer(TimeSpan timeout, TimeSpan?durationWork = null, int batchSize = 500) { Linearizer = new Linearizer( _connectionString, _logger, timeout, durationWork ?? TimeSpan.FromSeconds(defaultDurationWorkInSeconds), batchSize); }
public MsSqlPersistor(Linearizer linearizer, string connectionString) { _linearizer = linearizer; _connectionString = connectionString; }