r69199 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r69198
|
r69199
|
r69200
>
Date:
00:55, 9 July 2010
Author:
tstarling
Status:
ok
Tags:
Comment:
Cache very few File objects in the RepoGroup cache, since massive DjVu metadata on Commons causes OOM on some category pages. WMF-specific patch for now.
Modified paths:
/branches/wmf/1.16wmf4/includes/filerepo/RepoGroup.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf/1.16wmf4/includes/filerepo/RepoGroup.php
—
—
@@ -16,7 +16,7 @@
17
17
var $cache;
18
18
19
19
protected static $instance;
20
- const MAX_CACHE_SIZE = 1000;
20
+ const MAX_CACHE_SIZE = 5; # WMF patch was 1000
21
21
22
22
/**
23
23
* Get a RepoGroup instance. At present only one instance of RepoGroup is
Follow-up revisions
Revision
Commit summary
Author
Date
r69200
Reapply
r69199
.
tstarling
00:57, 9 July 2010
r97512
1.18wmf1 Merge
r60970
,
r69199
,
r77266
,
r96827
(Some of the revisions from
r81...
reedy
16:01, 19 September 2011
Status & tagging log
01:01, 9 July 2010
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r69199
[
removed:
new
added:
ok]