1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00

Use MariaDB max limit for index/attribute subqueries

This commit is contained in:
kodumbeats 2021-09-01 10:08:59 -04:00
parent ae58a60065
commit be47d16290

View file

@ -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, []);
}
);