On Fri, Feb 27, 2009 at 12:18 PM, Raghu Srinivasan
<[email protected]> wrote:
> Hemant - I thought that script/background start starts all workers
> and script/background stop stops all workers.
> How does one explicitly close/exit a particular worker from within Rails?
>
You can call #delete on worker. For example:
MiddleMan.worker("worker_name",<optional_worker_key>).delete
Or you can call #exit from within the worker.
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel