aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-02-14 00:05:55 -0800
committerGitHub <noreply@github.com>2025-02-14 00:05:55 -0800
commit70327d6a92ac973e6c48a0f3086fa8dccdcb8899 (patch)
treea70cc212b3651a259fdc0b41be8b967003276cb4 /web_src
parentf232d8f5309fbf316e297cb7c04eb431f2c7ae24 (diff)
downloadgitea-70327d6a92ac973e6c48a0f3086fa8dccdcb8899.tar.gz
gitea-70327d6a92ac973e6c48a0f3086fa8dccdcb8899.zip
Improve commits list performance to reduce unnecessary database queries (#33528)
When listing commits, Gitea attempts to retrieve the actual user based on the commit email. Querying users one by one from the database is inefficient. This PR optimizes the process by batch querying users by email, reducing the number of database queries.
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions