1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/91556bfa4f33/ changeset: 91556bfa4f33 user: natefoo date: 2012-02-17 17:27:29 summary: Make the job queue thread block on job recovery to avoid a race condition with jobs in the 'new' state. This should fix jobs showing up as 'ok' and then upon a later history reload showing up as 'error'. affected #: 1 file diff -r 07a458a0213901fdd220db8ee2dc111cedc55028 -r 91556bfa4f336dbdf656f244f82b3894a5e429e8 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -96,10 +96,12 @@ self.running = True self.dispatcher = dispatcher self.monitor_thread = threading.Thread( target=self.__monitor ) + # Recover jobs at startup + if app.config.get_bool( 'enable_job_recovery', True ): + self.__check_jobs_at_startup() + # Start the queue self.monitor_thread.start() log.info( "job manager started" ) - if app.config.get_bool( 'enable_job_recovery', True ): - self.__check_jobs_at_startup() def __check_jobs_at_startup( self ): """ Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.