mirror of https://github.com/MISP/MISP
fix: [internal] looplimit lowered to 50k for fetchAttributes
- maybe we should base this number off the available memory somehow...pull/3551/head
parent
5215ee1c5a
commit
4600cdef87
|
@ -2798,7 +2798,7 @@ class Attribute extends AppModel
|
||||||
$warninglists = $this->Warninglist->fetchForEventView();
|
$warninglists = $this->Warninglist->fetchForEventView();
|
||||||
}
|
}
|
||||||
if (empty($params['limit'])) {
|
if (empty($params['limit'])) {
|
||||||
$loopLimit = 100000;
|
$loopLimit = 50000;
|
||||||
$loop = true;
|
$loop = true;
|
||||||
$params['limit'] = $loopLimit;
|
$params['limit'] = $loopLimit;
|
||||||
$params['page'] = 0;
|
$params['page'] = 0;
|
||||||
|
|
Loading…
Reference in New Issue