Ignore master connections for POST-nonwrite in $wgTrxProfilerLimits
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Nov 2018 22:39:12 +0000 (15:39 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 1 Nov 2018 22:39:12 +0000 (15:39 -0700)
Unless an actuall write happens, avoid create log spam over things
like CentralAuthUser->getSafeReadDB().

Change-Id: I1cf43f4b1cdd12eb458458448f0f0ea328925b47

includes/DefaultSettings.php

index 9c26a28..01e9002 100644 (file)
@@ -6182,7 +6182,6 @@ $wgTrxProfilerLimits = [
                'maxAffected' => 1000
        ],
        'POST-nonwrite' => [
-               'masterConns' => 0,
                'writes' => 0,
                'readQueryTime' => 5,
                'readQueryRows' => 10000