lib/rails/queue/queue.rb
# Drain the queue, running all jobs in a different thread. This method
# may not be available on production queues.
Drain the queue, running all jobs in a different thread. This method
may not be available on production queues.
Drain the queue running all jobs in a different thread . This method may not be available on production queues .
def drain
        consumer.drain
      end
def drain consumer . drain end
Drain the queue, running all jobs in a different thread.
Drain the queue running all jobs in a different thread .
# run the jobs in a separate thread so assumptions of synchronous # jobs are caught in test mode.