Remove: SidekiqHealthScheduler (#441)

This commit is contained in:
KMY(雪あすか) 2024-01-09 20:44:19 +09:00 committed by GitHub
parent f624cdfa98
commit 650d40cb24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 29 deletions

View file

@ -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