blob: 5876cfb1fe7aad4d588931182d6d933273afc04b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
class TrendingProjectsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :source_code_management
def perform
Gitlab::AppLogger.info('Refreshing trending projects')
TrendingProject.refresh!
end
end
|