Remove: SidekiqHealthScheduler
This commit is contained in:
parent
aa5e50e5d5
commit
4b10bf23ab
3 changed files with 0 additions and 29 deletions
|
@ -1,12 +0,0 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Scheduler::SidekiqHealthScheduler
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options retry: 0, lock: :until_executed, lock_ttl: 15.seconds.to_i
|
||||
|
||||
def perform
|
||||
url = ENV.fetch('SIDEKIQ_HEALTH_FETCH_URL', nil)
|
||||
Request.new(:head, url).perform if url.present?
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue