wiki.techinc.nl/tests/phpunit/includes/libs/objectcache
Bryan Davis 450bb6723d BagOStuff: Optionally log duplicate key lookups
Add new 'reportDupes' parameter to BagOStuff. This parameter enables scheduling
of a callback after the current web request ends. This callback will emit warning
log messages for all keys that were requested more than once.

The default ObjectCache factory for MediaWiki enables this option by default.
Not by default for plain BagOStuff instances, however. E.g. `new HashBagOStuff()`.

It also set 'asyncHandler' for all classes now (not just MultiWriteBagOStuff).

Bug: T128125
Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
Change-Id: I8a2b06cf54d2acf5950eed71756ecdf50e224be1
2016-04-22 04:21:20 +00:00
..
BagOStuffTest.php BagOStuff: Optionally log duplicate key lookups 2016-04-22 04:21:20 +00:00
CachedBagOStuffTest.php CachedBagOStuff: cache backend misses 2016-02-22 18:45:20 -07:00
HashBagOStuffTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MultiWriteBagOStuffTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ReplicatedBagOStuffTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
WANObjectCacheTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00