mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-04-21 04:51:14 +00:00
Fix cache problem on dashboard (#9358)
This commit is contained in:
@@ -78,7 +78,9 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
|
||||
if act.ActUser != nil {
|
||||
userCache[act.ActUserID] = act.ActUser
|
||||
}
|
||||
}
|
||||
|
||||
for _, act := range actions {
|
||||
repoOwner, ok := userCache[act.Repo.OwnerID]
|
||||
if !ok {
|
||||
repoOwner, err = models.GetUserByID(act.Repo.OwnerID)
|
||||
|
||||
Reference in New Issue
Block a user