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
a3b316ab
Commit
a3b316ab
authored
Oct 09, 2020
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable track_issue_activity_actions feature by default
parent
e0e5ab3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config/feature_flags/development/track_issue_activity_actions.yml
...eature_flags/development/track_issue_activity_actions.yml
+1
-1
lib/gitlab/usage_data_counters/issue_activity_unique_counter.rb
...tlab/usage_data_counters/issue_activity_unique_counter.rb
+1
-1
No files found.
config/feature_flags/development/track_issue_activity_actions.yml
View file @
a3b316ab
...
@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40904
...
@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40904
rollout_issue_url
:
rollout_issue_url
:
group
:
group::project_management
group
:
group::project_management
type
:
development
type
:
development
default_enabled
:
false
default_enabled
:
true
\ No newline at end of file
lib/gitlab/usage_data_counters/issue_activity_unique_counter.rb
View file @
a3b316ab
...
@@ -105,7 +105,7 @@ module Gitlab
...
@@ -105,7 +105,7 @@ module Gitlab
private
private
def
track_unique_action
(
action
,
author
,
time
)
def
track_unique_action
(
action
,
author
,
time
)
return
unless
Feature
.
enabled?
(
:track_issue_activity_actions
)
return
unless
Feature
.
enabled?
(
:track_issue_activity_actions
,
default_enabled:
true
)
return
unless
author
return
unless
author
Gitlab
::
UsageDataCounters
::
HLLRedisCounter
.
track_event
(
author
.
id
,
action
,
time
)
Gitlab
::
UsageDataCounters
::
HLLRedisCounter
.
track_event
(
author
.
id
,
action
,
time
)
...
...
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