X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2Fjobs%2FCategoryMembershipChangeJob.php;h=94e7248e6059c78cfb2e1137aef3b982e47ec966;hb=16266edff3337c893a1b5bc42e0bd006a828cde3;hp=b561021b29031e40a31dac03477d9b38ece020f3;hpb=cf975214e78c02f2d3530384f71919e4be8a90eb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/jobs/CategoryMembershipChangeJob.php b/includes/jobqueue/jobs/CategoryMembershipChangeJob.php index b561021b29..94e7248e60 100644 --- a/includes/jobqueue/jobs/CategoryMembershipChangeJob.php +++ b/includes/jobqueue/jobs/CategoryMembershipChangeJob.php @@ -58,9 +58,9 @@ class CategoryMembershipChangeJob extends Job { } $dbr = wfGetDB( DB_SLAVE, [ 'recentchanges' ] ); - // Wait till the slave is caught up so that jobs for this page see each others' changes + // Wait till the replica DB is caught up so that jobs for this page see each others' changes if ( !wfGetLB()->safeWaitForMasterPos( $dbr ) ) { - $this->setLastError( "Timed out while waiting for slave to catch up" ); + $this->setLastError( "Timed out while waiting for replica DB to catch up" ); return false; } // Clear any stale REPEATABLE-READ snapshot