HomePhabricator

Made LinksUpdate on edit use the job queue

Description

Made LinksUpdate on edit use the job queue

  • LinksUpdate is now an EnqueueableDataUpdate and can yeild a prioritzed refreshLinks job.
  • DeferredUpdates::runUpdates() now takes an enqueue flag to try to use jobs. This is set in restInPeace(). Updates that change many links will be less likely to increase lag, as the runners are more strict about that.
  • Also made the LinksDeletionUpdate job enqueue happen post-send on page deletion for consistency

Bug: T95501
Change-Id: I8863caef9c8f03234699d33e4d47d2310a0c8446