Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
e1e7e4ae80
commit
5a913585d6
3 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
module Packages
|
||||
class CreateEventService < BaseService
|
||||
def execute
|
||||
if Feature.enabled?(:collect_package_events_redis)
|
||||
if Feature.enabled?(:collect_package_events_redis, default_enabled: true)
|
||||
::Packages::Event.unique_counters_for(event_scope, event_name, originator_type).each do |event_name|
|
||||
::Gitlab::UsageDataCounters::HLLRedisCounter.track_event(event_name, values: current_user.id)
|
||||
end
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Enable collect_package_events_redis by default
|
||||
merge_request: 50092
|
||||
author:
|
||||
type: changed
|
|
@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46846
|
|||
rollout_issue_url:
|
||||
group: group::package
|
||||
type: development
|
||||
default_enabled: false
|
||||
default_enabled: true
|
||||
|
|
Loading…
Reference in a new issue