search for: queue_job

Displaying 1 result from an estimated 1 matches for "queue_job".

2006 Aug 24
3
A new QueueWorker class
...you set the total number that may exist at once. There are three components: 1) queue_worker.rb: The singleton worker that manages the child workers. You probably want to auto start this. Make sure you give it :singleton=>true. Read this file for the methods to interact with your children. (ie. queue_job(), delete_job(), job_progress() ) 2) backgroundrb_rails_queue.rb: The super class for the "child workers" (and uses backgroundrb_rails.rb in turn). This file needs to be included in background.rb 3) Your child worker, which should be a subclass of BackgrounDRb::RailsQueue, is otherwise...