Sha256: 762875a8d649c56cc1409722bb6df0e96166a3f6995b707dfcfffcfc8e64dc2b

Contents?: true

Size: 542 Bytes

Versions: 11

Compression:

Stored size: 542 Bytes

Contents

module ActiveJob # :nodoc:
  module QueueAdapters # :nodoc:
    # See {GoodJob::Adapter} for details.
    class GoodJobAdapter < GoodJob::Adapter
      def initialize(execution_mode: nil, max_threads: nil, poll_interval: nil, scheduler: nil, inline: false)
        configuration = GoodJob::Configuration.new({ execution_mode: execution_mode }, env: ENV)
        super(execution_mode: configuration.rails_execution_mode, max_threads: max_threads, poll_interval: poll_interval, scheduler: scheduler, inline: inline)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
good_job-1.4.1 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.4.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.6 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.5 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.4 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.3 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.2 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.1 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.3.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.6 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.5 lib/active_job/queue_adapters/good_job_adapter.rb