mediawiki-extensions-Linter/tests/phpunit
Kunal Mehta eebd04aa00 Add caching to looking up totals
The query itself is too expensive to be run on large Wikimedia wikis. So
put it behind WAN cache and touch the check keys for each category
whenever those have errors added or deleted from them.

If this happens to get out of sync, it will get fully refreshed
regularly when the totals are sent to statsd.

WANObjectCache's 'lockTSE' feature will help avoid cache stampedes that
made this query expensive in the past.

Change-Id: I3774103a29fa0f29d36283950f136259fa71bffe
2017-05-29 07:33:41 -07:00
..
DatabaseTest.php Add caching to looking up totals 2017-05-29 07:33:41 -07:00
LintErrorTest.php Add unit tests for LintError 2016-12-02 16:27:48 -08:00
RecordLintJobTest.php Add basic integration tests for RecordLintJob 2016-12-02 08:11:16 -08:00
SpecialLintErrorsTest.php Add basic integration tests for Special:LintErrors 2016-12-02 07:55:26 -08:00