wiki.techinc.nl/tests/phpunit/includes/libs/objectcache
Aaron Schulz 9ec57d7e5b objectcache: make WANObjectCache::set() handle very slow regeneration
If a key always takes a very long time to regenerate, is popular,
and does not use lockTSE, it still needs to be cacheable. Since a
value cannot be more up-to-date than the time it takes to regenerate
it, take the "lower the TTL" approach for these cases. Use "walltime"
to narrow down the "reject the set()" case based on regeneration time.
This is already provided by getWithSetCallback() automatically.

Bug: T244877
Change-Id: Id43fb02738b28dad3bc922057efb7eee0272d0e1
2020-04-14 22:53:38 +00:00
..
BagOStuffTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
CachedBagOStuffTest.php Coding style: Auto-fix MediaWiki.Usage.PHPUnit* 2020-01-10 10:17:12 +00:00
HashBagOStuffTest.php Fixes for PHPUnit 8 compatibility 2019-12-10 17:02:06 +00:00
MultiWriteBagOStuffTest.php tests: Add explicit return type void to setUp() and tearDown() 2019-10-30 14:31:22 -07:00
WANObjectCacheTest.php objectcache: make WANObjectCache::set() handle very slow regeneration 2020-04-14 22:53:38 +00:00