Skip to content
Snippets Groups Projects

Touch project when toggling stars to update cache

Merged Gabriel Mazetto requested to merge bugfix/star_cache into master

This is a fix for gitlab-org/gitlab-ce#3513.

When a star toggle event happens, we touch project to clear cache key. This will trigger a new "updated_at" at the project model. If it's undesirable, please let me know and I will try to solve it in a different way.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading