Sha256: 15a4fc173bd60d4b6b3700e38acb1488047bea41f9fb1c278ea41dbaab8af361
Contents?: true
Size: 481 Bytes
Versions: 5
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module HttpHealthCheck module Probes class DelayedJob class HealthCheckJob def self.perform; end def self.queue_name 'health-check' end end include ::HttpHealthCheck::Probe def initialize(delayed_job: ::Delayed::Job) @delayed_job = delayed_job end def probe(_env) @delayed_job.enqueue(HealthCheckJob).destroy! probe_ok end end end end
Version data entries
5 entries across 5 versions & 1 rubygems