objectcache: fully respect "pcTTL" in WANObjectCache instead of using INF when >= 0
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Sep 2019 09:40:34 +0000 (02:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Sep 2019 09:56:39 +0000 (02:56 -0700)
commit223b7a3717526682316a314f1cfa2a56ecac45b3
treede46715642cce115942a80a2f143b95b7ab83df6
parent66eb92b458b4b43f0ca0970d7bbc440f9252e401
objectcache: fully respect "pcTTL" in WANObjectCache instead of using INF when >= 0

This was broken since 611e2d55963b91

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