W3cubDocs

/Ruby on Rails 6.0

class ActiveJob::QueueAdapters::SneakersAdapter

Parent:
Object

Sneakers adapter for Active Job

A high-performance RabbitMQ background processing framework for Ruby. Sneakers is being used in production for both I/O and CPU intensive workloads, and have achieved the goals of high-performance and 0-maintenance, as designed.

Read more about Sneakers here.

To use Sneakers set the queue_adapter config to :sneakers.

Rails.application.config.active_job.queue_adapter = :sneakers

Public Class Methods

new() Show source
# File activejob/lib/active_job/queue_adapters/sneakers_adapter.rb, line 21
def initialize
  @monitor = Monitor.new
end

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.