search for: job_progress

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

Did you mean: do_progress
2006 Aug 24
3
A new QueueWorker class
...at 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 the about same as normal If it...