Lowered the TransactionProfiler threshold
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 5 Jun 2014 22:59:07 +0000 (15:59 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 5 Jun 2014 22:59:07 +0000 (15:59 -0700)
Change-Id: Id574e8d2b2a28cba3003d6a344a4afb0307699e3

includes/profiler/Profiler.php

index 677f473..9633d0d 100644 (file)
@@ -357,7 +357,7 @@ abstract class Profiler {
  */
 class TransactionProfiler {
        /** @var float seconds */
-       protected $mDBLockThreshold = 5.0;
+       protected $mDBLockThreshold = 3.0;
        /** @var array DB/server name => (active trx count, time, DBs involved) */
        protected $mDBTrxHoldingLocks = array();
        /** @var array DB/server name => list of (function name, elapsed time) */