[PR #3547] [MERGED] refactor: reduce sql query times in retrieveFeeds #16989

Closed
opened 2025-11-02 12:23:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3547
Author: @appleboy
Created: 2/20/2018
Status: Merged
Merged: 2/21/2018
Merged by: @appleboy

Base: masterHead: improve2


📝 Commits (2)

  • bab6509 refactor: reduce sql query in retrieveFeeds
  • 631f7c5 Merge branch 'master' into improve2

📊 Changes

3 files changed (+116 additions, -32 deletions)

View changed files

📝 models/action.go (+10 -1)
models/action_list.go (+98 -0)
📝 routers/user/home.go (+8 -31)

📄 Description

  1. remove unused repo cache
  2. Add action list struct to reduce sql query times.

🔄 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/3547 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 2/20/2018 **Status:** ✅ Merged **Merged:** 2/21/2018 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `improve2` --- ### 📝 Commits (2) - [`bab6509`](https://github.com/go-gitea/gitea/commit/bab65090a34a7893963de876157ca2b46b6fc550) refactor: reduce sql query in retrieveFeeds - [`631f7c5`](https://github.com/go-gitea/gitea/commit/631f7c57befabef73f26e8b3fe4a2c121bf9ee03) Merge branch 'master' into improve2 ### 📊 Changes **3 files changed** (+116 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `models/action.go` (+10 -1) ➕ `models/action_list.go` (+98 -0) 📝 `routers/user/home.go` (+8 -31) </details> ### 📄 Description 1. remove unused repo cache 2. Add action list struct to reduce sql query times. --- <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 12:23:41 -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#16989