about summary refs log tree commit diff
path: root/app/workers/scheduler/instance_refresh_scheduler.rb
blob: 917404beccb3addce4315c64740b51a6d8341f1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Scheduler::InstanceRefreshScheduler
  include Sidekiq::Worker

  sidekiq_options lock: :until_executed, retry: 0

  def perform
    Instance.refresh
  end
end