debian-mirror-gitlab/app/workers/trending_projects_worker.rb
2018-03-17 18:26:18 +05:30

10 lines
189 B
Ruby

class TrendingProjectsWorker
include ApplicationWorker
include CronjobQueue
def perform
Rails.logger.info('Refreshing trending projects')
TrendingProject.refresh!
end
end