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

Use db.ListOptions directly instead of Paginator interface to make iteasier to use and fix performance of /pulls and /issues (#29990) #30447

Merged
merged 2 commits into from
Apr 13, 2024

Commits on Apr 12, 2024

  1. Use db.ListOptions directly instead of Paginator interface to make it…

    … easier to use and fix performance of /pulls and /issues (go-gitea#29990)
    
    This PR uses `db.ListOptions` instead of `Paginor` to make the code
    simpler.
    And it also fixed the performance problem when viewing /pulls or
    /issues. Before the counting in fact will also do the search.
    
    ---------
    
    Co-authored-by: Jason Song <i@wolfogre.com>
    Co-authored-by: silverwind <me@silverwind.io>
    3 people committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    b3dd4ca View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Configuration menu
    Copy the full SHA
    0507ff5 View commit details
    Browse the repository at this point in the history