[Backgroundrb-devel] send objet between 2 workers

Frédéric Logier fredix at gmail.com
Thu Jun 21 10:30:03 EDT 2007


2007/6/21, Frédéric Logier :
>
>
> I tried this but it doesn't work better, second worker crash :
>
>
> s_worker = MiddleMan.new_worker(:class => :FIRSTWorker,
>                                     :job_key => :first_worker,
>                                     :args => "")
>
>  MiddleMan.new_worker(:class => :SECONDWorker,
>                                    :job_key => :second_worker,
>                                     :args => {:sms_job_key => s_worker})
>



works better with     s_worker = MiddleMan.worker(:sms_worker) before !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070621/0bfcda0e/attachment.html 


More information about the Backgroundrb-devel mailing list