objectcache: relax WANObjectCache "pcTTL" nesting rule to allow set()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 16 Jul 2019 09:31:54 +0000 (02:31 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 17 Jul 2019 17:39:54 +0000 (17:39 +0000)
commitfb013cdf2759e58fcf67d23042c336c83dc0e627
treef54231f2065d2dc906b7da5068741b42739dc214
parentcbf8446b74b616a00024ef27225bd1e12ffd3bf6
objectcache: relax WANObjectCache "pcTTL" nesting rule to allow set()

As long as get()s are disallowed from the process cache, the sets() should
at least still be up-to-date, so there is little reason to prevent them.

Change-Id: Ic62c8380801130de7f8412cddcf85b246e33b3cd
includes/libs/objectcache/WANObjectCache.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php