| commit | 6ad9559848ef04e74813242c50eb38cb9c9bfcfe | [log] [tgz] |
|---|---|---|
| author | Jason Linehan <jlinehan@wikimedia.org> | Thu Nov 08 11:32:18 2018 -0500 |
| committer | Jason Linehan <jlinehan@wikimedia.org> | Thu Nov 08 17:19:49 2018 -0500 |
| tree | 6ac26c1d6db51e913ff0c9b1429c0236d8dac290 | |
| parent | 883bd531623dd4e7fa81686c5acbd107bb14b3a6 [diff] |
Ensures predictable performance for teardown and purge. Per T189926, API command=teardown had potential to trigger large database updates before the request could be fulfilled, resulting in loss of performance. There were related potentials within the logic used to purge soft-deleted lists and list entries via a maintenance script. With this patch: - reading lists now soft-delete on user teardown - reading lists and entries are now purged 1000 at a time - a warning is logged if more than one 'rl_default' occurs - unit testing of 'purgeOldDeleted' now treats all cases Bug: T189926 Change-Id: I064d0d83ab647f1495141685f2c35fcf6fd42df8
This extension provides an API through which users can manage private lists of articles, such as bookmarks or "Read Later" lists.
The extension is designed for use on wiki farms; it stores articles as domain name + title pairs, so that the list service can be setup on a single central wiki.