Skip to content

Commit

Permalink
Merge pull request #20 from tstanitz/master
Browse files Browse the repository at this point in the history
Add missing ConfigureAwait(false) to avoid locking in case of paralle…
  • Loading branch information
adamhathcock committed May 4, 2018
2 parents 3603f13 + c61c943 commit 684f58c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override void Load()
{
var data = new Dictionary<string, string>();

var entries = (await _credstash.ListAsync()).Select(x => x.Name).Distinct().ToList();
var entries = (await _credstash.ListAsync().ConfigureAwait(false)).Select(x => x.Name).Distinct().ToList();

if (entries.Count() > 10 && _degreeOfParallelism > 1)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>2.3.0</VersionPrefix>
<VersionPrefix>2.4.0</VersionPrefix>
<Authors>adamhathcock</Authors>
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
<AssemblyName>Narochno.Credstash.Configuration</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion src/Narochno.Credstash/Narochno.Credstash.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>2.3.0</VersionPrefix>
<VersionPrefix>2.4.0</VersionPrefix>
<Authors>adamhathcock</Authors>
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks>
<AssemblyName>Narochno.Credstash</AssemblyName>
Expand Down

0 comments on commit 684f58c

Please sign in to comment.