Lower $wgTrxProfilerLimits for JobRunner a bit
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 24 Sep 2016 01:52:21 +0000 (18:52 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 27 Sep 2016 23:05:38 +0000 (23:05 +0000)
Jobs should always use query batching.

Change-Id: Iddbcc32b44e6c71feb66e2f52afb20e824e6eb72

includes/DefaultSettings.php

index 7facf2f..f8626e9 100644 (file)
@@ -6022,7 +6022,7 @@ $wgTrxProfilerLimits = [
        'JobRunner' => [
                'readQueryTime' => 30,
                'writeQueryTime' => 5,
-               'maxAffected' => 1000
+               'maxAffected' => 500 // ballpark of $wgUpdateRowsPerQuery
        ],
        // Command-line scripts
        'Maintenance' => [