From 2620aa3edf7b3d209a60548278dd8740e78a4a34 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 Also ensure contact fields uses fastArrayCache --- 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 9ff7617118..55c2b92e2b 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -169,7 +169,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', 'navigation', 'customData']; + $fastArrayCaches = ['groups', 'navigation', 'customData', 'fields']; if (in_array($cacheSvc, $fastArrayCaches)) { $definitionParams['withArray'] = 'fast'; } -- 2.25.1