summaryrefslogtreecommitdiff
path: root/app/workers/trending_projects_worker.rb
blob: 5db661dd0e663ba195f9c61652a1c28f3fb5c244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

class TrendingProjectsWorker
  include ApplicationWorker
  include CronjobQueue # rubocop:disable Scalability/CronWorkerContext

  feature_category :source_code_management

  def perform
    Rails.logger.info('Refreshing trending projects') # rubocop:disable Gitlab/RailsLogger

    TrendingProject.refresh!
  end
end