2019-09-02 18:11:13 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-11-25 13:07:38 +01:00
|
|
|
class Scheduler::Trends::RefreshScheduler
|
2019-09-02 18:11:13 +02:00
|
|
|
include Sidekiq::Worker
|
|
|
|
|
2021-03-15 11:17:43 +01:00
|
|
|
sidekiq_options retry: 0
|
2019-09-02 18:11:13 +02:00
|
|
|
|
|
|
|
def perform
|
2021-11-25 13:07:38 +01:00
|
|
|
Trends.refresh!
|
2019-09-02 18:11:13 +02:00
|
|
|
end
|
|
|
|
end
|