Added wfTransactionalTimeLimit() method and applied it
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 8 Aug 2015 00:08:33 +0000 (17:08 -0700)
committerTim Starling <tstarling@wikimedia.org>
Wed, 12 Aug 2015 22:09:40 +0000 (22:09 +0000)
commit9bba2d169ed968839b07c85be487e0185cb38ce0
tree1ba53f56ebe71bcbda86725912b53575fefa6bd2
parent0a5f42266c3e229eff2a049a1444466fb4cd0e86
Added wfTransactionalTimeLimit() method and applied it

* Potentially long running POST requests often use multiple transactions,
  talk to multiple services, or defer updates. Try to make sure they have
  a chance to complete all of the work. WMF already sets ignore_user_abort()
  across the board in config, but this applies it to key spots for all
  installs, in addition to bumping the time limit.
* Eventually this can lower the need for high overall time limits.

Bug: T102890
Change-Id: I893ddd773064dcd63b5b24c84c6391974f4b5aee
26 files changed:
RELEASE-NOTES-1.26
includes/DefaultSettings.php
includes/GlobalFunctions.php
includes/actions/Action.php
includes/actions/DeleteAction.php
includes/actions/EditAction.php
includes/actions/RevertAction.php
includes/actions/RollbackAction.php
includes/api/ApiBase.php
includes/api/ApiDelete.php
includes/api/ApiEditPage.php
includes/api/ApiFileRevert.php
includes/api/ApiImageRotate.php
includes/api/ApiImport.php
includes/api/ApiMove.php
includes/api/ApiRevisionDelete.php
includes/api/ApiRollback.php
includes/api/ApiUndelete.php
includes/specialpage/SpecialPage.php
includes/specials/SpecialImport.php
includes/specials/SpecialMergeHistory.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialRevisiondelete.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialUpload.php
includes/specials/SpecialUploadStash.php