Last modified: 2013-01-14 21:45:29 UTC
It takes ages to run. Also, the code does quite a large select. It should be doing batch reads $cutoff = time() - $wgUploadStashMaxAge; ... $res = $dbr->select( 'uploadstash', 'us_key', 'us_timestamp < ' . $dbr->addQuotes( $dbr->timestamp( $cutoff ) ), __METHOD__ );
It seems to like omnomnoming memory when run against commonswiki with 100,000+ to cleanup.. 1461 reedy 20 0 6437m 2.7g 4056 S 1 70.4 68:19.59 php