Exemple #1
0
 public BatchOperation(IStoreBatchProgress store, MigrationConfig config)
 {
     _store     = store;
     _config    = config;
     _processed = _store.StartOrContinue(config.Name);
     EventStore.Logger.Debug($"'{config.Name}' [migration] starts/resumes after {_processed.Value} commits");
 }
Exemple #2
0
 private void ConfigureStore()
 {
     _store.StartOrContinue("test").Returns(new ProcessedCommitsCount(0));
 }