From 4600cdef876b0d07de0058a875709d242e0e4008 Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 6 Aug 2018 20:53:30 +0200 Subject: [PATCH] fix: [internal] looplimit lowered to 50k for fetchAttributes - maybe we should base this number off the available memory somehow... --- app/Model/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 1f84d47d5..c97ed168a 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -2798,7 +2798,7 @@ class Attribute extends AppModel $warninglists = $this->Warninglist->fetchForEventView(); } if (empty($params['limit'])) { - $loopLimit = 100000; + $loopLimit = 50000; $loop = true; $params['limit'] = $loopLimit; $params['page'] = 0;