projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792fce0
)
Ensure recently converted groups cache matches previous behabiour my setting withArra...
author
Seamus Lee
<seamuslee001@gmail.com>
Wed, 10 Jul 2019 22:19:18 +0000
(08:19 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Sun, 14 Jul 2019 04:39:59 +0000
(14:39 +1000)
Ensure custom data cache use the fastArray Cache
Civi/Core/Container.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Core/Container.php
b/Civi/Core/Container.php
index b205f59efe89455e9d2ba7c5e251e4375b9ba6b5..c456d3d0d8bbfc122a7aac343ecee5be89483833 100644
(file)
--- 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';
}