diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2025-04-09 09:34:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-09 16:34:38 +0000 |
commit | 4a5af4edca3883bcb45056de11b9fd59f9759b9b (patch) | |
tree | 5b786bcc26bebc268e1ec5df4d05238291f22c05 /modules/assetfs | |
parent | f8edc29f5dd1a99e3be1a2ff764d1d7315862345 (diff) | |
download | gitea-main.tar.gz gitea-main.zip |
When list commits, some of the commits authors are the same at many
situations. But current logic will always fetch the same GPG keys from
database. This PR will cache the GPG keys, emails and users for the
context so that reducing the database queries.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules/assetfs')
0 files changed, 0 insertions, 0 deletions