Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve /api/v1/repos/issues/search by just getting repo ids (#15179) #15192

Merged
merged 3 commits into from
Mar 31, 2021

Commits on Mar 29, 2021

  1. Improve /api/v1/repos/issues/search by just getting repo ids (go-gite…

    …a#15179)
    
    Backport go-gitea#15179
    
    /api/v1/repos/issues/search is a highly inefficient search which is unfortunately
    the basis for our dependency searching algorithm. In particular it currently loads
    all of the repositories and their owners and their primary coding language all of
    which is immediately thrown away.
    
    This PR makes one simple change - just get the IDs.
    
    Related go-gitea#14560
    Related go-gitea#12827
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    b9efe0f View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2021

  1. Configuration menu
    Copy the full SHA
    74b591d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe29d67 View commit details
    Browse the repository at this point in the history