From cdc03bcc9feef6593b60d5ad8a8f624b4df01f8c Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 11 Jul 2019 08:19:18 +1000 Subject: [PATCH] Ensure recently converted groups cache matches previous behabiour my setting withArray as fast for it Ensure that navigation cache is using fastArray --- Civi/Core/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.25.1