0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-01 01:06:55 -05:00
forgejo/models/fixtures
Lunny Xiao 9df573bddc
Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017)
backport #26991 

Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
2023-09-13 15:15:00 +08:00
..
access.yml
access_token.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action.yml
action_run.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_run_job.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
action_task.yml Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
commit_status_index.yml
deleted_branch.yml
deploy_key.yml
email_address.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-08-31 15:29:55 +00:00
external_login_user.yml
follow.yml
gpg_key.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-08-31 15:29:55 +00:00
gpg_key_import.yml
hook_task.yml
issue.yml
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
lfs_meta_object.yml
login_source.yml
milestone.yml
mirror.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
project.yml Fix incorrect oldest sort in project list (#25806) (#25835) 2023-07-12 13:22:17 +08:00
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml fix: release page for empty or non-existing target (#24470) 2023-05-10 11:43:55 +08:00
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
repository.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
review.yml
star.yml
stopwatch.yml
system_setting.yml Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) 2023-09-13 15:15:00 +08:00
team.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
team_repo.yml
team_unit.yml Fix access check for org-level project (#26182) (#26223) 2023-07-29 18:50:58 +00:00
team_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-08-31 15:29:55 +00:00
user_open_id.yml
user_redirect.yml
watch.yml
webauthn_credential.yml
webhook.yml