From cd60721bc7538fe28b1948f41bbe648ba8ba5e0e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 19 Jan 2018 20:40:15 +0100 Subject: bin/build-master-status-from-mysql: order build slaves by last_connection --- bin/build-master-status-from-mysql | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index a416538..27afd27 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -15,6 +15,7 @@ ${mysql_command} -e ' `build_slaves`.`currently_building`=`build_assignments`.`id` LEFT JOIN `package_sources` ON `build_assignments`.`package_source`=`package_sources`.`id` + ORDER BY `build_slaves`.`last_connection` ' --html | \ sed ' s,,\0\n,g -- cgit v1.2.3-70-g09d2