18 lines
340 B
Ruby
18 lines
340 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Namespaces
|
|
class UpdateRootStatisticsWorker
|
|
include Gitlab::EventStore::Subscriber
|
|
|
|
data_consistency :always
|
|
|
|
idempotent!
|
|
|
|
feature_category :source_code_management
|
|
|
|
def handle_event(event)
|
|
ScheduleAggregationWorker.perform_async(event.data[:namespace_id])
|
|
end
|
|
end
|
|
end
|