Sha256: 4c385d5eb68ce6536b435ea11bf65d23d8a8b253234cd8034d8ac6dd1ea1119f

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

require "mission_control/jobs/version"
require "mission_control/jobs/engine"

require "zeitwerk"

loader = Zeitwerk::Loader.new
loader.inflector = Zeitwerk::GemInflector.new(__FILE__)
loader.push_dir(File.expand_path("..", __dir__))
loader.ignore("#{File.expand_path("..", __dir__)}/resque")
loader.setup

module MissionControl
  module Jobs
    mattr_accessor :adapters, default: Set.new
    mattr_accessor :applications, default: MissionControl::Jobs::Applications.new
    mattr_accessor :base_controller_class, default: "::ApplicationController"
    mattr_accessor :delay_between_bulk_operation_batches, default: 0
    mattr_accessor :logger, default: ActiveSupport::Logger.new(nil)
    mattr_accessor :internal_query_count_limit, default: 500_000 # Hard limit to keep unlimited count queries fast enough
    mattr_accessor :show_console_help, default: true
    mattr_accessor :scheduled_job_delay_threshold, default: 1.minute
    mattr_accessor :importmap, default: Importmap::Map.new
    mattr_accessor :backtrace_cleaner
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mission_control-jobs-0.6.0 lib/mission_control/jobs.rb
mission_control-jobs-0.5.0 lib/mission_control/jobs.rb
mission_control-jobs-0.4.0 lib/mission_control/jobs.rb