V15: Refresh caches on load balanced environments (#17296)
* Move DocumentCacheService * Add clear all documentws from memory cache * Fix RedirectTracker * Implement refresh node/branch/all/delete * Only update databasecache in RefreshContentAsync * Fix tests * Skip blueprints in cache * Clear caches when contenttype is updated * Clear cache on data type update * Refresh media * Only update memory cache from refreshers * Fix imports * Add named options * Use cache entry settings in media * Obsolete nucache settings --------- Co-authored-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -10,7 +10,6 @@ namespace Umbraco.Cms.Tests.UnitTests.Umbraco.PublishedCache.HybridCache;
|
||||
[TestFixture]
|
||||
public class DocumentBreadthFirstKeyProviderTests
|
||||
{
|
||||
|
||||
[Test]
|
||||
public void ZeroSeedCountReturnsZeroKeys()
|
||||
{
|
||||
@@ -22,7 +21,6 @@ public class DocumentBreadthFirstKeyProviderTests
|
||||
navigationQueryService.Setup(x => x.TryGetRootKeys(out rootKeyList)).Returns(true);
|
||||
navigationQueryService.Setup(x => x.TryGetChildrenKeys(It.IsAny<Guid>(), out rootChildren)).Returns(true);
|
||||
|
||||
|
||||
var cacheSettings = new CacheSettings { DocumentBreadthFirstSeedCount = 0 };
|
||||
var sut = new DocumentBreadthFirstKeyProvider(navigationQueryService.Object, Options.Create(cacheSettings));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user