gitea/services/asymkey
Lunny Xiao 4a5af4edca
Cache GPG keys, emails and users when list commits (#34086)
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>
2025-04-09 16:34:38 +00:00
..
commit.go Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
deploy_key.go Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
main_test.go Move delete deploy keys into service layer (#32201) 2024-12-18 04:10:38 +00:00
sign.go Don't create duplicated functions for code repositories and wiki repositories (#33924) 2025-03-19 11:17:19 -07:00
ssh_key_authorized_keys.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
ssh_key_authorized_principals.go Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
ssh_key_principals.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
ssh_key_test.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
ssh_key.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00