[Backgroundrb-devel] timeout resp. handling of crash situations

hemant gethemant at gmail.com
Thu Mar 12 13:57:33 EDT 2009

On Thu, Mar 12, 2009 at 8:13 PM, Tobias Overkamp
<tov-backgroundrb at overkamp.org> wrote:
> Hi,
> (hope this is not a double post but I assume I have sent the first
> message from the wrong email address).
> I'm quite new to BackgroundRB but want to make use of it now in a
> project.
> One thing I currently don't get (into my mind):
> What will happen if a worker (handled by the backgroundrb-Daemon) will
> die, crash, halt (perhaps due to power failure or similar things) during
> execution?
> I want to make use of the "enq_method" call to make sure that no request
> will get lost but I can not see any mechanism for a housekeeping after a
> crash. Do I miss something or do I have to query the database directly?

Well if worker crashed for any reason, your unfinished tasks will
remain marked as unfinished  in bdrb_job_queue  table and hence on
restart you can decide what do do with them.

More information about the Backgroundrb-devel mailing list