Merge "Add "PostSend" limits to $wgTrxProfilerLimits"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 9 Jun 2016 22:32:01 +0000 (22:32 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 9 Jun 2016 22:32:01 +0000 (22:32 +0000)
1  2 
includes/DefaultSettings.php

@@@ -567,14 -567,10 +567,14 @@@ $wgUploadDialog = 
                // * upload-form-label-not-own-work-local-generic-foreign
                'foreign' => 'generic-foreign',
        ],
 -      // Upload comment to use. Available replacements:
 +      // Upload comments to use for 'local' and 'foreign' uploads. This can also be set to a single
 +      // string value, in which case it is used for both kinds of uploads. Available replacements:
        // * $HOST - domain name from which a cross-wiki upload originates
        // * $PAGENAME - wiki page name from which an upload originates
 -      'comment' => '',
 +      'comment' => [
 +              'local' => '',
 +              'foreign' => '',
 +      ],
        // Format of the file page wikitext to be generated from the fields input by the user.
        'format' => [
                // Wrapper for the whole page. Available replacements:
@@@ -5982,6 -5978,12 +5982,12 @@@ $wgTrxProfilerLimits = 
                'writes' => 0,
                'readQueryTime' => 5
        ],
+       // Deferred updates that run after HTTP response is sent
+       'PostSend' => [
+               'readQueryTime' => 5,
+               'writeQueryTime' => 1,
+               'maxAffected' => 500
+       ],
        // Background job runner
        'JobRunner' => [
                'readQueryTime' => 30,