From: Seamus Lee Date: Wed, 10 Jul 2019 22:19:18 +0000 (+1000) Subject: Ensure recently converted groups cache matches previous behabiour my setting withArra... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cdc03bcc9feef6593b60d5ad8a8f624b4df01f8c;p=civicrm-core.git Ensure recently converted groups cache matches previous behabiour my setting withArray as fast for it Ensure that navigation cache is using fastArray --- diff --git a/Civi/Core/Container.php b/Civi/Core/Container.php index 1587f7263d..1dc5d53b27 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -167,7 +167,7 @@ class Container { // For Caches that we don't really care about the ttl for and/or maybe accessed // fairly often we use the fastArrayDecorator which improves reads and writes, these // caches should also not have concurrency risk. - $fastArrayCaches = ['groups']; + $fastArrayCaches = ['groups', 'navigation']; if (in_array($cacheSvc, $fastArrayCaches)) { $definitionParams['withArray'] = 'fast'; }