commit/galaxy-central: dannon: Move handler startup to immediately following full creation and association of the JobManager.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a7b2aabb27ff/ Changeset: a7b2aabb27ff Branch: stable User: dannon Date: 2014-10-15 14:21:13+00:00 Summary: Move handler startup to immediately following full creation and association of the JobManager. Affected #: 2 files diff -r 78c9a97be4b6bfe55136b055477fd1b9f22fd848 -r a7b2aabb27ffe5cc3216774ab01b18f13b4fc941 lib/galaxy/app.py --- a/lib/galaxy/app.py +++ b/lib/galaxy/app.py @@ -134,6 +134,7 @@ # Start the job manager from galaxy.jobs import manager self.job_manager = manager.JobManager( self ) + self.job_manager.start() # FIXME: These are exposed directly for backward compatibility self.job_queue = self.job_manager.job_queue self.job_stop_queue = self.job_manager.job_stop_queue diff -r 78c9a97be4b6bfe55136b055477fd1b9f22fd848 -r a7b2aabb27ffe5cc3216774ab01b18f13b4fc941 lib/galaxy/jobs/manager.py --- a/lib/galaxy/jobs/manager.py +++ b/lib/galaxy/jobs/manager.py @@ -27,6 +27,8 @@ self.job_handler = NoopHandler() self.job_queue = self.job_stop_queue = NoopQueue() self.job_lock = False + + def start( self ): self.job_handler.start() def shutdown( 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.
participants (1)
-
commits-noreply@bitbucket.org