r93737 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r93736
|
r93737
|
r93738
>
Date:
12:47, 2 August 2011
Author:
midom
Status:
ok
Tags:
Comment:
avoid not caching data because of stupid memcached heuristics on ttl value
Modified paths:
/branches/wmf/1.17wmf1/includes/objectcache/MemcachedClient.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf/1.17wmf1/includes/objectcache/MemcachedClient.php
—
—
@@ -959,6 +959,8 @@
960
960
$this->stats[$cmd] = 1;
961
961
}
962
962
963
+ if ($exp > 2592000 and $exp < 1000000000) $exp = 2592000;
964
+
963
965
$flags = 0;
964
966
965
967
if ( !is_scalar( $val ) ) {
Follow-up revisions
Revision
Commit summary
Author
Date
r94199
Merge
r93797
to trunk, in a somewhat modified form: clamp expiries for memcac...
catrope
21:15, 10 August 2011
Status & tagging log
21:09, 10 August 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r93737
[
removed:
new
added:
ok]