purgeParserCache.php improvements:
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 2 Dec 2011 02:59:11 +0000 (02:59 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 2 Dec 2011 02:59:11 +0000 (02:59 +0000)
commit53d267b3dce25f7b9c7b4216456ad3850ea5035e
tree21723ee7d353def464a282f862c17da06ac8b437
parentbf62deece8beeb36c5b553d5b0594be335839013
purgeParserCache.php improvements:
* Do queries in batches of 100 rows instead of all at once. Note that if there are a lot of objects with the exact same expiry time, it might take multiple runs of the script to delete them all.
* Progress meter.
includes/objectcache/BagOStuff.php
includes/objectcache/MultiWriteBagOStuff.php
includes/objectcache/SqlBagOStuff.php
maintenance/purgeParserCache.php