[PR #825] [CLOSED] Cache ctxUser in retrieveFeeds(..) #15593

Closed
opened 2025-11-02 11:50:11 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/825
Author: @ethantkoenig
Created: 2/2/2017
Status: Closed

Base: masterHead: perf/cache


📝 Commits (1)

  • f04ef80 Cache ctxUser in retrieveFeeds(..)

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 routers/user/home.go (+3 -1)

📄 Description

It is common for at least one of the actions to have ctxUser as the actor, so we might as well populate the unameAvatars cache with ctxUser.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/825 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/2/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `perf/cache` --- ### 📝 Commits (1) - [`f04ef80`](https://github.com/go-gitea/gitea/commit/f04ef80c33d80f0bf5394860a5755b5d93396551) Cache ctxUser in retrieveFeeds(..) ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `routers/user/home.go` (+3 -1) </details> ### 📄 Description It is common for at least one of the actions to have `ctxUser` as the actor, so we might as well populate the `unameAvatars` cache with `ctxUser`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:50:11 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15593