On Thu, Mar 12, 2009 at 8:13 PM, Tobias Overkamp <[email protected]> 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. _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
