Skip to content

Commit

Permalink
Another small off-by-one fix on the in-memory event store provider. (#78
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dennisdoomen authored Feb 16, 2017
1 parent fe051e5 commit 92f6ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/LiquidProjections.Testing/InMemoryEventStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public async Task Send(IEnumerable<Transaction> transactions)
{
if (!disposed)
{
foreach (var batch in transactions.Where(t => t.Checkpoint >= lastProcessedCheckpoint).InBatchesOf(batchSize))
foreach (var batch in transactions.Where(t => t.Checkpoint > lastProcessedCheckpoint).InBatchesOf(batchSize))
{
await handler(batch.ToList().AsReadOnly()).ConfigureAwait(false);
}
Expand All @@ -133,4 +133,4 @@ public void Dispose()
disposed = true;
}
}
}
}

0 comments on commit 92f6ff0

Please sign in to comment.