dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc22415
)
Explicitly mark HTMLCacheUpdateJob jobs that are recursive for clarity
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 15 Feb 2015 21:50:33 +0000
(13:50 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 15 Feb 2015 21:50:33 +0000
(13:50 -0800)
Change-Id: I75dbe719ef034d4714d4d8262d1dee9fa78ba76b
includes/deferred/HTMLCacheUpdate.php
patch
|
blob
|
history
diff --git
a/includes/deferred/HTMLCacheUpdate.php
b/includes/deferred/HTMLCacheUpdate.php
index
e02cfbc
..
79a10e6
100644
(file)
--- a/
includes/deferred/HTMLCacheUpdate.php
+++ b/
includes/deferred/HTMLCacheUpdate.php
@@
-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
} );
}
-
}
}