commit/galaxy-central: james_taylor: ClusterJobRunner: make sure workers are daemon threads, shutdown now works again
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/be7625f376d1/ changeset: be7625f376d1 user: james_taylor date: 2013-01-11 20:49:24 summary: ClusterJobRunner: make sure workers are daemon threads, shutdown now works again affected #: 1 file diff -r 71a616ffce1c85aa31d3e5311d5babfc12c49381 -r be7625f376d16cefa2fb4984fa6483f37b4b71d4 lib/galaxy/jobs/runners/__init__.py --- a/lib/galaxy/jobs/runners/__init__.py +++ b/lib/galaxy/jobs/runners/__init__.py @@ -152,6 +152,7 @@ nworkers = self.app.config.cluster_job_queue_workers for i in range( nworkers ): worker = threading.Thread( name="%s.work_thread-%d" % (self.runner_name, i), target=self.run_next ) + worker.setDaemon( True ) worker.start() self.work_threads.append( worker ) 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)
-
Bitbucket