Fixed behaviour on database cache rebuild to update only for requested content types (#19905)
Fixed behaviour on database cache rebuild to update only for requested content types.
(cherry picked from commit b8b61cd326)
This commit is contained in:
@@ -120,7 +120,7 @@ internal sealed class DatabaseCacheRebuilder : IDatabaseCacheRebuilder
|
||||
private Task PerformRebuild()
|
||||
{
|
||||
using ICoreScope scope = _coreScopeProvider.CreateCoreScope();
|
||||
_databaseCacheRepository.Rebuild();
|
||||
_databaseCacheRepository.Rebuild([], [], []);
|
||||
|
||||
// If the serializer type has changed, we also need to update it in the key value store.
|
||||
var currentSerializerValue = _keyValueService.GetValue(NuCacheSerializerKey);
|
||||
|
||||
Reference in New Issue
Block a user