debian-mirror-gitlab/app/workers/trending_projects_worker.rb
2019-12-21 20:55:43 +05:30

14 lines
301 B
Ruby

# frozen_string_literal: true
class TrendingProjectsWorker
include ApplicationWorker
include CronjobQueue
feature_category :source_code_management
def perform
Rails.logger.info('Refreshing trending projects') # rubocop:disable Gitlab/RailsLogger
TrendingProject.refresh!
end
end