Closed (fixed)
Project:
Search API Revisions
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2024 at 00:55 UTC
Updated:
27 Feb 2024 at 01:39 UTC
Jump to comment: Most recent
Currently in ContentEntityRevisions::getPartialItemIds, we currently do 1 query for the entities, and then another for each entity returned by the first query to get all the revision ids. We don't need to do that - we can get all revision ids in a single query. This will massively decrease the number of queries required.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
acbramley commentedComment #5
acbramley commentedIncluded some phpcs fixes too.