Matt Pennig
2006-Aug-10 21:35 UTC
[Backgroundrb-devel] Cleaning up a worker that is about to be killed.
I was looking through the code and I am confused. Now, I''m not at all familiar with DRb, so keep that in mind. What I would like to accomplish is letting a worker clean up or perform some other action in case the job goes beyond the time-to- live, or it is otherwise instructed to be killed. I''m running an audio & video converter process, and I want to handle the case where the conversion takes too long -- setting a flag to "Failed", for example. I don''t want the job to just get killed... I saw something about @job_ctrl in the comments, but nowhere did I see it actually _used_. Is this implemented by DRb? -Matt Pennig -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060810/91546e8c/attachment.html