Class: Namespaces::UpdateRootStatisticsWorker

Inherits:
Object
  • Object
show all
Includes:
Gitlab::EventStore::Subscriber
Defined in:
app/workers/namespaces/update_root_statistics_worker.rb

Instance Method Summary collapse

Methods included from Gitlab::EventStore::Subscriber

#perform

Instance Method Details

#handle_event(event) ⇒ Object



13
14
15
# File 'app/workers/namespaces/update_root_statistics_worker.rb', line 13

def handle_event(event)
  ScheduleAggregationWorker.perform_async(event.data[:namespace_id])
end