Remove: SidekiqHealthScheduler (#441)
This commit is contained in:
parent
f624cdfa98
commit
650d40cb24
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