[PR #826] [MERGED] Cache ctxUser in retrieveFeeds(..) #15594

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/826
Author: @ethantkoenig
Created: 2/2/2017
Status: Merged
Merged: 2/3/2017
Merged by: @lunny

Base: masterHead: refactor/cache


📝 Commits (1)

  • 80994be 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/826 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 2/2/2017 **Status:** ✅ Merged **Merged:** 2/3/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `refactor/cache` --- ### 📝 Commits (1) - [`80994be`](https://github.com/go-gitea/gitea/commit/80994be925a7e33fc4793adf13858cb605b0c3b7) 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:13 -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#15594