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:
61fc4ab
)
ApiQueryInfo: fix query limits for testactions
author
Bartek Łukawski
<bwmn.peter@gmail.com>
Mon, 17 Sep 2018 11:23:36 +0000
(13:23 +0200)
committer
Peter Bowman
<bwmn.peter@gmail.com>
Mon, 17 Sep 2018 11:28:23 +0000
(11:28 +0000)
ApiBase::LIMIT_SML2 actually belongs to apihighlimits.
Change-Id: Iaa50c6be417c9681563087b80928dc49a3bbd141
includes/api/ApiQueryInfo.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryInfo.php
b/includes/api/ApiQueryInfo.php
index
0cf6b04
..
3b7b00d
100644
(file)
--- a/
includes/api/ApiQueryInfo.php
+++ b/
includes/api/ApiQueryInfo.php
@@
-522,7
+522,7
@@
class ApiQueryInfo extends ApiQueryBase {
}
if ( $this->params['testactions'] ) {
- $limit = $this->getMain()->canApiHighLimits() ? self::LIMIT_SML
1 : self::LIMIT_SML2
;
+ $limit = $this->getMain()->canApiHighLimits() ? self::LIMIT_SML
2 : self::LIMIT_SML1
;
if ( $this->countTestedActions >= $limit ) {
return null; // force a continuation
}