chinwagsocial/app/workers/scheduler/instance_refresh_scheduler.rb
Claire b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-07-27 16:11:17 +02:00

12 lines
217 B
Ruby

# frozen_string_literal: true
class Scheduler::InstanceRefreshScheduler
include Sidekiq::Worker
sidekiq_options retry: 0
def perform
Instance.refresh
InstancesIndex.import if Chewy.enabled?
end
end