From 5d27adeb234189d53ca14612d64d02d3da062e98 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 custom data cache use the fastArray Cache --- 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 b205f59efe..c456d3d0d8 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -168,7 +168,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']; + $fastArrayCaches = ['groups', 'navigation', 'customData']; if (in_array($cacheSvc, $fastArrayCaches)) { $definitionParams['withArray'] = 'fast'; } -- 2.25.1