Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1795a4fb
Commit
1795a4fb
authored
Mar 26, 2021
by
Eugenia Grieff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 1 suggestion(s) to 1 file(s)
parent
f47bdc15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
app/services/groups/count_service.rb
app/services/groups/count_service.rb
+6
-6
changelogs/unreleased/299178-follow-up-from-cached-sidebar-issues-count-in-group-sidebar.yml
...-up-from-cached-sidebar-issues-count-in-group-sidebar.yml
+1
-1
doc/user/project/merge_requests/reviewing_and_managing_merge_requests.md
...t/merge_requests/reviewing_and_managing_merge_requests.md
+1
-1
No files found.
app/services/groups/count_service.rb
View file @
1795a4fb
...
...
@@ -30,20 +30,20 @@ module Groups
private
def
relation_for_count
raise
NotImplementedError
end
def
cache_options
super
.
merge
({
expires_in:
EXPIRATION_TIME
})
end
def
cache_key_name
raise
NotImplementedError
end
def
relation_for_count
raise
NotImplementedError
raise
NotImplementedError
,
'cache_key_name must be implemented and return a String'
end
def
issuable_key
'
'
raise
NotImplementedError
,
'issuable_key must be implemented and return a String
'
end
end
end
changelogs/unreleased/299178-follow-up-from-cached-sidebar-issues-count-in-group-sidebar.yml
View file @
1795a4fb
...
...
@@ -2,4 +2,4 @@
title
:
Cache open merge requests count in group sidebar
merge_request
:
55971
author
:
type
:
added
type
:
performance
doc/user/project/merge_requests/reviewing_and_managing_merge_requests.md
View file @
1795a4fb
...
...
@@ -28,7 +28,7 @@ You can [search and filter the results](../../search/index.md#filtering-issue-an
![
Group Issues list view
](
img/group_merge_requests_list_view.png
)
## Cached merge request count
**(FREE SELF)**
## Cached merge request count
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299542) in GitLab 13.11.
> - It's [deployed behind a feature flag](../../feature_flags.md), enabled by default.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment