Commit 1795a4fb authored by Eugenia Grieff's avatar Eugenia Grieff

Apply 1 suggestion(s) to 1 file(s)

parent f47bdc15
......@@ -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
......@@ -2,4 +2,4 @@
title: Cache open merge requests count in group sidebar
merge_request: 55971
author:
type: added
type: performance
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment