module Environment
The environment for the ActiveJob server.
Definitions
def service_class
The service class to use.
Implementation
def service_class
Service
end
def queue_names
The name of the queue to use.
Implementation
def queue_names
if queue_names = ENV['ASYNC_JOB_ADAPTER_ACTIVE_JOB_QUEUE_NAMES']
queue_names.split(',')
else
dispatcher.keys
end
end