From 3359e6f1e145781a6fcc1956bd5afa5df5bd2002 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Jun 2018 09:45:16 +0200 Subject: bin/get-assignment: same-arch should be less valued than last_trial --- bin/get-assignment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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' -- cgit v1.2.3-70-g09d2