Sha256: b29cd70c65dd625fa0f2a05793c6d4423718a9bcdc5953bb4c09838416943a25

Contents?: true

Size: 311 Bytes

Versions: 7

Compression:

Stored size: 311 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "logger"
require_relative "../lib/rails_transactional_outbox"

result = RailsTransactionalOutbox::HealthCheck.check
if result.empty?
  exit 0
else
  Logger.new($stdout).fatal("[Rails Transactional Outbox Worker] health check failed: #{result}")
  exit 1
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails-transactional-outbox-1.0.0 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.4.0 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.3.1 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.3.0 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.2.1 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.2.0 bin/rails_transactional_outbox_health_check
rails-transactional-outbox-0.1.0 bin/rails_transactional_outbox_health_check