Tweak RefreshLinksJob cache logic
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 3 May 2016 00:31:03 +0000 (17:31 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 3 May 2016 05:17:45 +0000 (22:17 -0700)
commita6f75ac03cf5b2d42a8b6b50f932d9e672fcf22e
treeac29e172efb9c075e8717a638fa5e64e8e970938
parent6a4c5f37dce1c30c7c2964a09a18abe90866d34f
Tweak RefreshLinksJob cache logic

* Make this actually use the cache beyond edge cases
  by making the page_touched check less strict. The
  final check on the cache timestamp is good enough.
* Log metrics to statsd to give visibility.

Change-Id: I14c14846a7b68d079e1a29c6d50e354a3c1926d6
includes/jobqueue/jobs/RefreshLinksJob.php