module DisqueJockey

A WorkerGroup lives in its own process and runs workers of each worker class. It is effectively a self-contained unit of workers that fetch jobs and work.

Constants

VERSION

Public Class Methods

configuration() click to toggle source
# File lib/disque_jockey.rb, line 18
def self.configuration
  @configuration ||= DisqueJockey::Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/disque_jockey.rb, line 22
def self.configure
  yield(configuration)
end
run!(options={}) click to toggle source
# File lib/disque_jockey.rb, line 26
def self.run!(options={})
  @configuration = DisqueJockey::Configuration.new(options)

  DisqueJockey::Supervisor.work!
end