details: http://www.bx.psu.edu/hg/galaxy/rev/c141cb89aa45
changeset: 1637:c141cb89aa45
user: Nate Coraor <nate(a)bx.psu.edu>
date: Thu Nov 20 16:15:39 2008 -0500
description:
Fix job recovery
2 file(s) affected in this change:
lib/galaxy/jobs/__init__.py
universe_wsgi.ini.sample
diffs (27 lines):
diff -r 8412e0cbe7f0 -r c141cb89aa45 lib/galaxy/jobs/__init__.py
--- a/lib/galaxy/jobs/__init__.py Tue Nov 18 16:04:41 2008 -0500
+++ b/lib/galaxy/jobs/__init__.py Thu Nov 20 16:15:39 2008 -0500
@@ -107,7 +107,7 @@
self.monitor_thread = threading.Thread( target=self.monitor )
self.monitor_thread.start()
log.info( "job manager started" )
- if self.track_jobs_in_database:
+ if app.config.get_bool( 'enable_job_recovery', True ):
self.check_jobs_at_startup()
def check_jobs_at_startup( self ):
diff -r 8412e0cbe7f0 -r c141cb89aa45 universe_wsgi.ini.sample
--- a/universe_wsgi.ini.sample Tue Nov 18 16:04:41 2008 -0500
+++ b/universe_wsgi.ini.sample Thu Nov 20 16:15:39 2008 -0500
@@ -24,6 +24,11 @@
# Should jobs be tracked through the database, rather than in memory
## track_jobs_in_database = true
+
+# Enable job recovery (if Galaxy is restarted while cluster jobs are running,
+# it can "recover" them when it starts). This is not safe to use if you are
+# running more than one Galaxy server using the same database.
+#enable_job_recovery = True
# Number of concurrent jobs to run (local runner)
local_job_queue_workers = 5
Hi,
I just learned Galaxy in this ASHG meeting, but I wonder how I can use
my own plink-format binary data. The tool side from
http://main.g2.bx.psu.edu/ does not look like the one we had in class,
and it keeps giving me error if I try to upload my *.bed data.
Also, I would suggest Galaxy to provide a pdf manual to look things up,
just like all the other genetic program/software. The screencasts takes
too much time.
Many thanks in advance!
Regards,
Yi-Ping
------------------------------------------------------------------------
------
Yi-Ping Fu, MS, PhD candidate
Human Genetics Center
School of Public Health
The University of Texas Health Science Center at Houston
1200 Hermann Pressler, Suite RAS-E427
Houston TX 77030
Office: 713-500-9898
Fax: 713-500-0900