mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-31 01:02:04 +08:00
Hack for database monitoring job queue to wait until after forking to start
monitor thread.
This commit is contained in:
@@ -62,6 +62,8 @@ class JobQueue( object ):
|
||||
Continually iterate the waiting jobs, checking is each is ready to
|
||||
run and dispatching if so.
|
||||
"""
|
||||
# HACK: Delay until after forking, we need a way to do post fork notification!!!
|
||||
time.sleep( 10 )
|
||||
while self.running:
|
||||
# Pull all new jobs from the queue at once
|
||||
new_jobs = []
|
||||
|
||||
Reference in New Issue
Block a user