Sha256: ff17510d70e413a3bd109340181162a86f706df8175f4de2d366a454b1b12456

Contents?: true

Size: 480 Bytes

Versions: 9

Compression:

Stored size: 480 Bytes

Contents

module ActiveJob
  module QueueAdapters
    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

9 entries across 9 versions & 1 rubygems

Version Path
good_job-1.2.4 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.3 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.2 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.1 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.2.0 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.1.4 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.1.3 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.1.2 lib/active_job/queue_adapters/good_job_adapter.rb
good_job-1.1.1 lib/active_job/queue_adapters/good_job_adapter.rb