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
0aa5eab2
Commit
0aa5eab2
authored
Apr 20, 2021
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the longer_count_cache_validity_period feature flag
parent
0cccf8e1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
app/models/user.rb
app/models/user.rb
+1
-5
changelogs/unreleased/remove-longer-count-cache-validity-ff.yml
...logs/unreleased/remove-longer-count-cache-validity-ff.yml
+5
-0
config/feature_flags/development/longer_count_cache_validity.yml
...feature_flags/development/longer_count_cache_validity.yml
+0
-8
No files found.
app/models/user.rb
View file @
0aa5eab2
...
...
@@ -1620,11 +1620,7 @@ class User < ApplicationRecord
end
def
count_cache_validity_period
if
Feature
.
enabled?
(
:longer_count_cache_validity
,
self
,
default_enabled: :yaml
)
24
.
hours
else
20
.
minutes
end
end
def
assigned_open_merge_requests_count
(
force:
false
)
...
...
changelogs/unreleased/remove-longer-count-cache-validity-ff.yml
0 → 100644
View file @
0aa5eab2
---
title
:
Remove the longer_count_cache_validity_period feature flag
merge_request
:
59746
author
:
type
:
performance
config/feature_flags/development/longer_count_cache_validity.yml
deleted
100644 → 0
View file @
0cccf8e1
---
name
:
longer_count_cache_validity
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57122
rollout_issue_url
:
milestone
:
'
13.11'
type
:
development
group
:
group::source code
default_enabled
:
false
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