- Issue created by @alexpott
The \Drupal\Core\Installer\NormalInstallerServiceProvider swaps out database caches for memory caches and the Storage comparer wraps the active config in a memory cache. So when install from config the StorageComparer target storages have double memory caches which is wasteful.
MAYBE make \Drupal\Core\Config\CachedStorage::$cache public or have a getter... and then in StorageComparer check if a CachedStorage and if the cache is a memory cache.
OR add a boolean to \Drupal\Core\Config\StorageComparer::__construct() that determines if the target storage should be wrapped.
Active
11.0 π₯
Last updated