blob: 19c2fd67763a9787a6871ece81fb2ac36d937847 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class ProjectDailyStatisticsWorker
include ApplicationWorker
feature_category :source_code_management
def perform(project_id)
project = Project.find_by_id(project_id)
return unless project&.repository&.exists?
Projects::FetchStatisticsIncrementService.new(project).execute
end
end
|