From 3679760949a86145551ebd9b7859c6d4cb7496f2 Mon Sep 17 00:00:00 2001 From: Sam Cook Date: Mon, 9 Nov 2015 15:27:59 +0000 Subject: [PATCH] Add missing ConfigureAwait(false) to RedisLockFactory CreateAsync overload --- RedLock/RedisLockFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedLock/RedisLockFactory.cs b/RedLock/RedisLockFactory.cs index 3bab226..63b9b4a 100644 --- a/RedLock/RedisLockFactory.cs +++ b/RedLock/RedisLockFactory.cs @@ -116,7 +116,7 @@ public async Task CreateAsync(string resource, TimeSpan expiryTime) /// A RedisLock object. public async Task 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()