Change-Id: Id818a71a75e4d4cb8397df5b1ff3dfdd3b155ea7
*/
static function jobs() {
if ( !isset( self::$jobs ) ) {
*/
static function jobs() {
if ( !isset( self::$jobs ) ) {
- $dbr = wfGetDB( DB_SLAVE );
self::$jobs = array_sum( JobQueueGroup::singleton()->getQueueSizes() );
/**
* Zero rows still do single row read for row that doesn't exist,
self::$jobs = array_sum( JobQueueGroup::singleton()->getQueueSizes() );
/**
* Zero rows still do single row read for row that doesn't exist,