From: Aaron Schulz Date: Tue, 27 May 2014 17:36:04 +0000 (-0700) Subject: Tweaked HTMLCacheUpdate immediate run treshold X-Git-Tag: 1.31.0-rc.0~15557 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=fb9023bb2ea91e75a2267b8081fa822d18e45f23;p=lhc%2Fweb%2Fwiklou.git Tweaked HTMLCacheUpdate immediate run treshold Change-Id: I123c27862821e01fe232f55d984905fcda2a2498 --- diff --git a/includes/deferred/HTMLCacheUpdate.php b/includes/deferred/HTMLCacheUpdate.php index 0713a058fe..54fa59433a 100644 --- 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, 200 ); - if ( $count >= 200 ) { // many backlinks + $count = $this->mTitle->getBacklinkCache()->getNumLinks( $this->mTable, 100 ); + if ( $count >= 100 ) { // many backlinks JobQueueGroup::singleton()->push( $job ); JobQueueGroup::singleton()->deduplicateRootJob( $job ); } else { // few backlinks ($count might be off even if 0)