A couple other tweaks.
This commit is contained in:
@@ -233,6 +233,11 @@ class Server:
|
||||
self.ping_job_queue()
|
||||
if (self.orchestrator is not None) and self.orchestrator.started and self.check_job_queue:
|
||||
with self.db.transaction() as storage:
|
||||
if 'job_check_interval' in storage.root.config:
|
||||
try:
|
||||
self.job_check_interval = int(storage.root.config['job_check_interval'])
|
||||
except:
|
||||
logging.warning(f"Invalid config value for 'job_check_interval'")
|
||||
# queue as many jobs as possible
|
||||
while self.orchestrator.runners_available():
|
||||
if len(storage.root.job_queue) > 0:
|
||||
|
||||
Reference in New Issue
Block a user