Skip to content

Commit

Permalink
Fix ConfigureAwait
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticmind authored and oskardudycz committed Nov 8, 2022
1 parent 449617f commit 1f083d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Marten.CommandLine/Commands/Projection/ProjectionHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ await Parallel.ForEachAsync(projectionNames, _cancellation.Token,
{
if (shardTimeout == null)
{
await daemon.RebuildProjection(projectionName, token).ConfigureAwait(true);
await daemon.RebuildProjection(projectionName, token).ConfigureAwait(false);
}
else
{
await daemon.RebuildProjection(projectionName, shardTimeout.Value, token).ConfigureAwait(true);
await daemon.RebuildProjection(projectionName, shardTimeout.Value, token).ConfigureAwait(false);
}
})
.ConfigureAwait(false);
Expand Down

0 comments on commit 1f083d0

Please sign in to comment.