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