dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Make determineCoreSchema a public function again in DatabasePostgres"
[lhc/web/wiklou.git]
/
includes
/
libs
/
ProcessCacheLRU.php
diff --git
a/includes/libs/ProcessCacheLRU.php
b/includes/libs/ProcessCacheLRU.php
index
5a93391
..
03e23ed
100644
(file)
--- a/
includes/libs/ProcessCacheLRU.php
+++ b/
includes/libs/ProcessCacheLRU.php
@@
-149,4
+149,12
@@
class ProcessCacheLRU {
unset( $this->cache[$key] );
$this->cache[$key] = $item;
}
+
+ /**
+ * Get cache size
+ * @return int
+ */
+ public function getSize() {
+ return $this->maxCacheKeys;
+ }
}