[Backgroundrb-devel] how to run multiple instances of the same worker

hemant gethemant at gmail.com
Thu Jun 19 09:33:37 EDT 2008


On Thu, Jun 19, 2008 at 6:54 PM, Jeff Jolma <jjolma at gmail.com> wrote:
> Hi all.
>
> How do I run multiple instances of the same worker in one BackgrounDRB
> instance.  My worker sits in a loop polling a job queue and hitting a web
> service.  Since this is so network bound, I'd like to run multiple instances
> of the worker.
>

MiddleMan.new_worker(:worker => <worker_name>,:job_key => "og boy")


More information about the Backgroundrb-devel mailing list