dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7e9b7
)
Made "maxAffected" query expectation actually apply
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Feb 2015 23:45:29 +0000
(15:45 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Feb 2015 23:45:29 +0000
(15:45 -0800)
Change-Id: Ib7796fe0975b50b96c5e1d53384079735eea881d
includes/MediaWiki.php
patch
|
blob
|
history
diff --git
a/includes/MediaWiki.php
b/includes/MediaWiki.php
index
c21f5e9
..
9428d49
100644
(file)
--- a/
includes/MediaWiki.php
+++ b/
includes/MediaWiki.php
@@
-497,6
+497,7
@@
class MediaWiki {
$trxProfiler = Profiler::instance()->getTransactionProfiler();
$trxProfiler->setExpectation( 'masterConns', 0, __METHOD__ );
$trxProfiler->setExpectation( 'writes', 0, __METHOD__ );
+ } else {
$trxProfiler->setExpectation( 'maxAffected', 500, __METHOD__ );
}