Changeset 1637:c141cb89aa45

Show
Ignore:
Timestamp:
11/20/08 16:15:39 (2 months ago)
Author:
Nate Coraor <nate@bx.psu.edu>
branch:
default
Message:

Fix job recovery

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/galaxy/jobs/__init__.py

    r1632 r1637  
    108108        self.monitor_thread.start()         
    109109        log.info( "job manager started" ) 
    110         if self.track_jobs_in_database
     110        if app.config.get_bool( 'enable_job_recovery', True )
    111111            self.check_jobs_at_startup() 
    112112 
  • universe_wsgi.ini.sample

    r1621 r1637  
    2525# Should jobs be tracked through the database, rather than in memory 
    2626## track_jobs_in_database = true 
     27 
     28# Enable job recovery (if Galaxy is restarted while cluster jobs are running, 
     29# it can "recover" them when it starts).  This is not safe to use if you are 
     30# running more than one Galaxy server using the same database. 
     31#enable_job_recovery = True 
    2732 
    2833# Number of concurrent jobs to run (local runner)