-
- Downloads
Only update the sidebar count caches when needed
This ensures the issues/MR cache of the sidebar is only updated when the state or confidential flags changes, instead of changing this for every update.
Showing
- app/models/issue.rb 6 additions, 0 deletionsapp/models/issue.rb
- app/models/merge_request.rb 6 additions, 0 deletionsapp/models/merge_request.rb
- changelogs/unreleased/sidebar-cache-updates.yml 5 additions, 0 deletionschangelogs/unreleased/sidebar-cache-updates.yml
- spec/models/issue_spec.rb 18 additions, 0 deletionsspec/models/issue_spec.rb
- spec/models/merge_request_spec.rb 12 additions, 0 deletionsspec/models/merge_request_spec.rb
Please register or sign in to comment