Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 15 Feb 2015 21:50:33 +0000 (13:50 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 15 Feb 2015 21:50:33 +0000 (13:50 -0800)
Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b

includes/deferred/HTMLCacheUpdate.php

index e02cfbc..79a10e6 100644 (file)
@@ -43,11 +43,11 @@ class HTMLCacheUpdate implements DeferrableUpdate {
        }
 
        public function doUpdate() {
-
                $job = new HTMLCacheUpdateJob(
                        $this->mTitle,
                        array(
                                'table' => $this->mTable,
+                               'recursive' => true
                        ) + Job::newRootJobParams( // "overall" refresh links job info
                                "htmlCacheUpdate:{$this->mTable}:{$this->mTitle->getPrefixedText()}"
                        )
@@ -63,6 +63,5 @@ class HTMLCacheUpdate implements DeferrableUpdate {
                                $job->run(); // just do the purge query now
                        } );
                }
-
        }
 }