summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-19 20:40:15 +0100
committerErich Eckner <git@eckner.net>2018-01-19 20:40:15 +0100
commitcd60721bc7538fe28b1948f41bbe648ba8ba5e0e (patch)
treeefbffba68a3e4410e200b95ce8f6bec90060eb0d
parentc5b511e13df7a2c325cdc3f83eded38b3c15aa73 (diff)
downloadbuilder-cd60721bc7538fe28b1948f41bbe648ba8ba5e0e.tar.xz
bin/build-master-status-from-mysql: order build slaves by last_connection
-rwxr-xr-xbin/build-master-status-from-mysql1
1 files changed, 1 insertions, 0 deletions
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,</TR>,\0\n,g