diff --git a/src/Umbraco.PublishedCache.NuCache/ContentStore.cs b/src/Umbraco.PublishedCache.NuCache/ContentStore.cs index 1a463420b876..b8ae19a95456 100644 --- a/src/Umbraco.PublishedCache.NuCache/ContentStore.cs +++ b/src/Umbraco.PublishedCache.NuCache/ContentStore.cs @@ -321,17 +321,12 @@ private void EnsureLocked() { if (_writeLock.CurrentCount != 0) { - throw new InvalidOperationException("Write lock must be acquried."); + throw new InvalidOperationException("Write lock must be acquired."); } } private void Lock(WriteLockInfo lockInfo, bool forceGen = false) { - if (_writeLock.CurrentCount == 0) - { - throw new InvalidOperationException("Recursive locks not allowed"); - } - if (_writeLock.Wait(_monitorTimeout)) { lockInfo.Taken = true;