HomePhabricator

Added support for enqueueable DataUpdates

Authored by aaron.

Description

Added support for enqueueable DataUpdates

  • Updates can now declare themselves as having enqueueUpdate() as an alternative to doUpdate(). This lets more expensive or slave lag producing updates use the job queue if desired.
  • Added a $mode flag to DataUpdate::runUpdates() to prefer pushing jobs over calling doUpdate().
  • Made page deletions defer deletion updates when possible.

Bug: T95501
Change-Id: Ic6f50f92768089ba0fbc223b8d178f5a91512959

Details

Committed
aaronSep 23 2015, 7:07 PM
Parents
rMW21206c8fbe90: Mark UserRights hook as deprecated
Branches
Unknown
Tags
Unknown
ChangeId
Ic6f50f92768089ba0fbc223b8d178f5a91512959