[Backgroundrb-devel] Worker suicide
ezmobius at gmail.com
Thu Sep 7 13:06:41 EDT 2006
Yes. I'm sorry for the confusion about that.
On Sep 7, 2006, at 5:17 AM, Jonathan Métillon wrote:
> And does
> ::BackgrounDRb::MiddleMan.instance.delete_worker @_job_key
> actually kill the thread?
> On 9/6/06, Ezra Zygmuntowicz < ezmobius at gmail.com> wrote:
> On Sep 6, 2006, at 5:00 AM, Jonathan Métillon wrote:
>> I wonder why Ezra proposed the delete_worker method if a kill
>> method exists? Maybe it's a brand new feature? i was not aware of
>> it and found nothing about this while googling.
>> On 9/6/06, Chris Roos <chrisjroos at gmail.com > wrote:
>> There is also a kill method for a worker, so I believe (and it seems
>> to work) that you can just use kill (or self.kill) in place of the
>> above chain.
>> The :: references the top level namespace.
> There is a kill method you can call in your worker. I need to
> update it however because while it does delete the worker out of
> the @jobs and @timestamps hashes, it doesnt actualy kill the
> running thread. There will be a new release soon that addresses
> this issue.
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel