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:
96689db
)
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>
Fri, 12 Jul 2019 21:21:31 +0000
(07:21 +1000)
Ensure that navigation cache is using fastArray
Civi/Core/Container.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Core/Container.php
b/Civi/Core/Container.php
index 1587f7263d0166feca2905c2a481b99debcbfe25..1dc5d53b277088c201e878a0025bc94e4d257b7b 100644
(file)
--- 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';
}