Make internal & private classes sealed where possible, to avoid code for virtual dispatch (#19719)

This commit is contained in:
Henrik
2025-07-21 08:32:54 +02:00
committed by GitHub
parent 0bcc26a811
commit 7f88013689
317 changed files with 451 additions and 479 deletions

View File

@@ -14,7 +14,7 @@ namespace Umbraco.Cms.Infrastructure.HybridCache;
/// <summary>
/// Rebuilds the published content cache in the database.
/// </summary>
internal class DatabaseCacheRebuilder : IDatabaseCacheRebuilder
internal sealed class DatabaseCacheRebuilder : IDatabaseCacheRebuilder
{
private const string NuCacheSerializerKey = "Umbraco.Web.PublishedCache.NuCache.Serializer";
private const string IsRebuildingDatabaseCacheRuntimeCacheKey = "temp_database_cache_rebuild_op";