There was an error while loading. Please reload this page.
2 parents 26b883a + a549313 commit 44f5d8aCopy full SHA for 44f5d8a
includes/jobqueue/jobs/RefreshLinksJob.php
@@ -279,6 +279,10 @@ protected function runForTitle( Title $title ) {
279
280
InfoAction::invalidateCache( $title );
281
282
+// Commit any writes here in case this method is called in a loop.
283
+// In that case, the scoped lock will fail to be acquired.
284
+$lbFactory->commitAndWaitForReplication( __METHOD__, $ticket );
285
+
286
return true;
287
}
288
0 commit comments