diff options
author | Erich Eckner <git@eckner.net> | 2018-06-13 09:45:16 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-13 09:45:16 +0200 |
commit | 3359e6f1e145781a6fcc1956bd5afa5df5bd2002 (patch) | |
tree | 87d1071718887a1c3ded67db19e46d0b317d34c1 /bin/get-assignment | |
parent | 425212a0e3cd0884971a6aa367be2fb49f1acba5 (diff) | |
download | builder-3359e6f1e145781a6fcc1956bd5afa5df5bd2002.tar.xz |
bin/get-assignment: same-arch should be less valued than last_trial
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-x | bin/get-assignment | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment index f74820f..365eea5 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -191,9 +191,9 @@ next_building=$( printf ' GROUP BY `build_assignments`.`id`' printf ' ORDER BY' printf ' `requested` DESC,' - printf ' `architectures`.`id`=`build_assignments`.`architecture` DESC,' printf ' `priority` DESC,' printf ' `last_trial`,' + printf ' `architectures`.`id`=`build_assignments`.`architecture` DESC,' printf ' `part_of_loop`,' printf ' `build_assignments`.`id`' printf ' LIMIT 1' |