[Backgroundrb-devel] Canceling work...
lists at sourceillustrated.com
Thu Feb 21 10:23:56 EST 2008
On Wed, Feb 20, 2008 at 6:36 PM, Yves-Eric Martin <
yem_backgroundrb-devel at filter.yve.net> wrote:
> Then, just invoke delete_worker when you need to, and if all is well, it
> should interrupt the running batch job, but your cleanup code *should*
> get executed before the worker finally dies. If it is not, I'd call it a
> BackgrounDRb bug, as it would be breaking some basic Ruby functionality.
Thanks! It's a good idea, but unfortunately, I only want cleanup to happen
when the worker is forceably deleted...not when it exits on its own. Ensure
would cleanup in both cases.
Thanks for your suggestion regardless.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel