Skip to content

Commit

Permalink
Add missing ConfigureAwait(false) to RedisLockFactory CreateAsync ove…
Browse files Browse the repository at this point in the history
…rload
  • Loading branch information
samcook committed Nov 9, 2015
1 parent b836821 commit 3679760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RedLock/RedisLockFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public async Task<RedisLock> CreateAsync(string resource, TimeSpan expiryTime)
/// <returns>A RedisLock object.</returns>
public async Task<RedisLock> CreateAsync(string resource, TimeSpan expiryTime, TimeSpan waitTime, TimeSpan retryTime)
{
return await RedisLock.CreateAsync(redisCaches, resource, expiryTime, waitTime, retryTime);
return await RedisLock.CreateAsync(redisCaches, resource, expiryTime, waitTime, retryTime).ConfigureAwait(false);
}

public void Dispose()
Expand Down

0 comments on commit 3679760

Please sign in to comment.