From d1100aebc3513a6e3044944afcca7b4e567378c2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 15 Jun 2019 19:35:04 +0200 Subject: bin/prioritize-build-list -d should not increase priority of failed builds --- bin/prioritize-build-list | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/prioritize-build-list') diff --git a/bin/prioritize-build-list b/bin/prioritize-build-list index b306286..8dd3f23 100755 --- a/bin/prioritize-build-list +++ b/bin/prioritize-build-list @@ -143,6 +143,7 @@ if ${dependencies}; then printf ' ON `sub_q`.`build_assignment`=`build_assignments`.`id`' printf ' SET `build_assignments`.`priority`=`sub_q`.`priority`' printf ' WHERE `build_assignments`.`priority`<`sub_q`.`priority`' + printf ' AND NOT `build_assignments`.`is_broken`' printf ';\n' printf 'SELECT row_count();\n' } | \ -- cgit v1.2.3-70-g09d2