From 68b0f432743e386d18d6ca83e258910fd4b259e1 Mon Sep 17 00:00:00 2001 From: Daniel Marbach Date: Wed, 29 Nov 2017 15:40:57 +0100 Subject: [PATCH] Missing ConfigureAwait (#5) --- Src/LiquidProjections.PollingEventStore/Subscription.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/LiquidProjections.PollingEventStore/Subscription.cs b/Src/LiquidProjections.PollingEventStore/Subscription.cs index 7df6948..7060f87 100644 --- a/Src/LiquidProjections.PollingEventStore/Subscription.cs +++ b/Src/LiquidProjections.PollingEventStore/Subscription.cs @@ -59,7 +59,7 @@ public void Start() { try { - await RunAsync(info); + await RunAsync(info).ConfigureAwait(false); } catch (OperationCanceledException) { @@ -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; @@ -94,7 +94,7 @@ private async Task RunAsync(SubscriptionInfo info) { if (!transactions.Any()) { - await subscriber.NoSuchCheckpoint(info); + await subscriber.NoSuchCheckpoint(info).ConfigureAwait(false); } else {