[Backgroundrb-devel] [Rails] [ANN] BackgrounDRb New release.

Günter Ladwig guenter at ladwig.info
Mon Jul 3 17:48:53 EDT 2006


On 03.07.2006, at 22:34, Ezra Zygmuntowicz wrote:

> Hemant-
>
> 	Thats a good point. I will add an option to allow for 'immortal'  
> workers. Does this syntax look good to you?
>
> session[:job_key] = MiddleMan.new_worker(:class => :long_worker,
>                                                                        
>           :args => 'whatever',
>                                                                        
>           :ttl => :immortal)
>

Wouldn't it be better to just assume 'immortality' if there is  
no :ttl argument? Ie. the default is that the worker is never killed?  
Seems more logical somehow :) To me, anyway.

Günter



More information about the Backgroundrb-devel mailing list