Add process cache support to WANObjectCache
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 7 Oct 2015 08:55:39 +0000 (01:55 -0700)
committerOri.livneh <ori@wikimedia.org>
Sat, 10 Oct 2015 06:14:50 +0000 (06:14 +0000)
commit968e28f8943699369601b395260e7a84ae142a14
tree57368a46be1214bc628a9ca35b154b00d3b47ee8
parent9e56569f9f37b06b4df44af2356975f051cc7c64
Add process cache support to WANObjectCache

* Make getWithSetCallback() accept a TTL field for this
* Make ChangeTag callers use this flag to avoid hundreds of
  duplicate queries at Special:Tags

Change-Id: Ic1ed28294f5d557e02f39a7f20d36766244b9ded
includes/changetags/ChangeTags.php
includes/libs/objectcache/WANObjectCache.php
tests/phpunit/includes/objectcache/WANObjectCacheTest.php