Fix old regression in HTMLCacheUpdate de-duplication
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 25 Aug 2017 22:47:01 +0000 (15:47 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 25 Aug 2017 22:49:49 +0000 (15:49 -0700)
commitcb7c910ba72bdf4c2c2f5fa7e7dd307f98e5138e
tree1defd78f5acdbc76334a1ed34ba1882a7f364bed
parent8be3601afbedecc2b6a766e50c53c5cd6440e43b
Fix old regression in HTMLCacheUpdate de-duplication

* The condition timestamp should be the root job timestamp,
  as the comments imply, though that was not the case. Only
  the SET timestamp should be the current timestamp. As it
  was, jobs effectively did not "see" each other since each
  one would be expecting newer than the ones that ran prior.
  The page_touched condition for the UPDATE query was mostly
  useless, since it was always the current timestamp.
* This problem was a regression from f598ca81e3f40166.

Change-Id: I1398366e87c959be1c98e4db959c41309b0ac1b8
includes/jobqueue/jobs/HTMLCacheUpdateJob.php