Change-Id: I56661ea29988e4ee217a63f4c3ffcb78333cc454
$count = $this->mTitle->getBacklinkCache()->getNumLinks( $this->mTable, 100 );
if ( $count >= 100 ) { // many backlinks
- JobQueueGroup::singleton()->push( $job );
+ JobQueueGroup::singleton()->lazyPush( $job );
JobQueueGroup::singleton()->deduplicateRootJob( $job );
} else { // few backlinks ($count might be off even if 0)
$dbw = wfGetDB( DB_MASTER );
'pageStatus' => $pageStatus
);
$job = new EnotifNotifyJob( $title, $params );
- JobQueueGroup::singleton()->push( $job );
+ JobQueueGroup::singleton()->lazyPush( $job );
} else {
$this->actuallyNotifyOnPageChange(
$editor,
$jobs[] = RecentChangesUpdateJob::newPurgeJob();
}
- JobQueueGroup::singleton()->push( $jobs );
+ JobQueueGroup::singleton()->lazyPush( $jobs );
}
if ( !$this->exists() ) {