Use MariaDB max limit for index/attribute subqueries
This commit is contained in:
parent
ae58a60065
commit
be47d16290
|
@ -184,7 +184,7 @@ Database::addFilter('subQueryAttributes',
|
|||
return $database
|
||||
->find('attributes', [
|
||||
new Query('collectionId', Query::TYPE_EQUAL, [$document->getId()])
|
||||
], 100, 0, []);
|
||||
], 1017, 0, []);
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -196,7 +196,7 @@ Database::addFilter('subQueryIndexes',
|
|||
return $database
|
||||
->find('indexes', [
|
||||
new Query('collectionId', Query::TYPE_EQUAL, [$document->getId()])
|
||||
], 100, 0, []);
|
||||
], 64, 0, []);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue