r94199 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r94198
|
r94199
|
r94200
>
Date:
21:15, 10 August 2011
Author:
catrope
Status:
ok (
Comments
)
Tags:
Comment:
Merge
r93797
to trunk, in a somewhat modified form: clamp expiries for memcached to 30 days, higher values give trouble apparently
Modified paths:
/trunk/phase3/includes/objectcache/MemcachedClient.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/objectcache/MemcachedClient.php
—
—
@@ -948,6 +948,12 @@
949
949
} else {
950
950
$this->stats[$cmd] = 1;
951
951
}
952
+
953
+ // Memcached doesn't seem to handle very high TTL values very well,
954
+ // so clamp them at 30 days
955
+ if ( $exp > 2592000 ) {
956
+ $exp = 2592000;
957
+ }
952
958
953
959
$flags = 0;
954
960
Follow-up revisions
Revision
Commit summary
Author
Date
r99061
MFT
r94199
reedy
23:41, 5 October 2011
r99106
Per Domas, reinstate <1e9 check that was dropped in
r94199
. Also document wha...
catrope
14:07, 6 October 2011
r99980
REL1_18 MFT
r93726
,
r94199
,
r96437
,
r96438
,
r696579
,
r98235
,
r98734
reedy
22:13, 16 October 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r93737
avoid not caching data because of stupid memcached heuristics on ttl value
midom
12:47, 2 August 2011
Comments
#
Comment by
Reedy
(
talk
|
contribs
)
22:33, 10 August 2011
r93737
even
Status & tagging log
22:15, 16 October 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r94199
[
removed:
1.18]
23:38, 5 October 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r94199
[
added:
1.18]
22:33, 10 August 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r94199
[
removed:
new
added:
ok]