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:
fc30f03
)
Tweaked HTMLCacheUpdate immediate run treshold
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 27 May 2014 17:36:04 +0000
(10:36 -0700)
committer
Springle
<springle@wikimedia.org>
Wed, 28 May 2014 07:03:08 +0000
(07:03 +0000)
Change-Id: I123c27862821e01fe232f55d984905fcda2a2498
includes/deferred/HTMLCacheUpdate.php
patch
|
blob
|
history
diff --git
a/includes/deferred/HTMLCacheUpdate.php
b/includes/deferred/HTMLCacheUpdate.php
index
0713a05
..
54fa594
100644
(file)
--- a/
includes/deferred/HTMLCacheUpdate.php
+++ b/
includes/deferred/HTMLCacheUpdate.php
@@
-54,8
+54,8
@@
class HTMLCacheUpdate implements DeferrableUpdate {
)
);
- $count = $this->mTitle->getBacklinkCache()->getNumLinks( $this->mTable,
2
00 );
- if ( $count >=
2
00 ) { // many backlinks
+ $count = $this->mTitle->getBacklinkCache()->getNumLinks( $this->mTable,
1
00 );
+ if ( $count >=
1
00 ) { // many backlinks
JobQueueGroup::singleton()->push( $job );
JobQueueGroup::singleton()->deduplicateRootJob( $job );
} else { // few backlinks ($count might be off even if 0)