Skip to content

database: Improve performance of ListDefaultRepos

Warren Gifford requested to merge faster-default-repos into main

Created by: ryanslade

In testing this appears to improve the performance of the query by about 20x.

Tests needed to be updated since the new query assumes all valid repos exist in our external_service_repos table which is correct but the old tests didn't set this up.

Co-authored-by: Tomás Senart [email protected]

Merge request reports

Loading