Skip to content

Commit

Permalink
Missing ConfigureAwait (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach authored and dennisdoomen committed Nov 29, 2017
1 parent 47238f9 commit 68b0f43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Src/LiquidProjections.PollingEventStore/Subscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void Start()
{
try
{
await RunAsync(info);
await RunAsync(info).ConfigureAwait(false);
}
catch (OperationCanceledException)
{
Expand All @@ -85,7 +85,7 @@ private async Task RunAsync(SubscriptionInfo info)

while (!cancellationTokenSource.IsCancellationRequested)
{
Page page = await TryGetNextPage(lastProcessedCheckpoint);
Page page = await TryGetNextPage(lastProcessedCheckpoint).ConfigureAwait(false);
if (page != null)
{
var transactions = page.Transactions;
Expand All @@ -94,7 +94,7 @@ private async Task RunAsync(SubscriptionInfo info)
{
if (!transactions.Any())
{
await subscriber.NoSuchCheckpoint(info);
await subscriber.NoSuchCheckpoint(info).ConfigureAwait(false);
}
else
{
Expand Down

0 comments on commit 68b0f43

Please sign in to comment.