objectcache: add "hotTTR" and "ageNew" options to getWithSetCallback()
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 27 Aug 2016 22:33:36 +0000 (15:33 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 7 Sep 2016 06:40:43 +0000 (06:40 +0000)
commitafcc7d772be210b7dab20ae89998106377036641
tree95a9d9ec53a90d6421bec2c56ecc64fbec95ad05
parentd957cb7347cc03922f116be760f14df8a630fcc9
objectcache: add "hotTTR" and "ageNew" options to getWithSetCallback()

These control worthRefreshPopular(), which will try to make sure that
heavily used keys are kept more consistent than others.

Change-Id: I2d351b50462a96d0fa8ca8fa6d28d51d3a5c94ff
includes/libs/objectcache/WANObjectCache.php