[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3636] trunk/py/scripts/tools/bi_farm/ new_master.py: check crytical jobs are enabled before killing all other jobs.

Campbell Barton ideasman42 at gmail.com
Thu Jul 19 10:46:24 CEST 2012


Revision: 3636
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3636
Author:   campbellbarton
Date:     2012-07-19 08:46:24 +0000 (Thu, 19 Jul 2012)
Log Message:
-----------
check crytical jobs are enabled before killing all other jobs.

Modified Paths:
--------------
    trunk/py/scripts/tools/bi_farm/new_master.py

Modified: trunk/py/scripts/tools/bi_farm/new_master.py
===================================================================
--- trunk/py/scripts/tools/bi_farm/new_master.py	2012-07-18 19:22:43 UTC (rev 3635)
+++ trunk/py/scripts/tools/bi_farm/new_master.py	2012-07-19 08:46:24 UTC (rev 3636)
@@ -185,7 +185,7 @@
         total_tot += image_tot
 
         # if we have unfinished critical jobs, we kill non-critical ones
-        if job.priority == "Critical":
+        if job.enabled and job.priority == "Critical":
             if image_done != len(images):
                 kill_non_critical = True
 



More information about the Bf-extensions-cvs mailing list