[hg] galaxy 1622: Start the job queue after the utils.
details: http://www.bx.psu.edu/hg/galaxy/rev/fb44755b4c56 changeset: 1622:fb44755b4c56 user: Nate Coraor <nate@bx.psu.edu> date: Tue Nov 11 14:51:13 2008 -0500 description: Start the job queue after the utils. 1 file(s) affected in this change: lib/galaxy/app.py diffs (27 lines): diff -r 45067d8114eb -r fb44755b4c56 lib/galaxy/app.py --- a/lib/galaxy/app.py Tue Nov 11 14:48:25 2008 -0500 +++ b/lib/galaxy/app.py Tue Nov 11 14:51:13 2008 -0500 @@ -30,11 +30,6 @@ self.toolbox = tools.ToolBox( self.config.tool_config, self.config.tool_path, self ) #Load datatype converters self.datatypes_registry.load_datatype_converters( self.toolbox ) - # Start the job queue - self.job_manager = jobs.JobManager( self ) - # 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 # Heartbeat and memdump for thread / heap profiling self.heartbeat = None self.memdump = None @@ -54,6 +49,11 @@ if self.config.log_memory_usage: from galaxy.util import memory_usage self.memory_usage = memory_usage + # Start the job queue + self.job_manager = jobs.JobManager( self ) + # 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 def shutdown( self ): self.job_manager.shutdown() if self.heartbeat:
participants (1)
-
Nate Coraor