changeset 573:1e9ec4fa31ef

0.6dev: Order builds by revision time as primary criteria to allow a fair distribution among configurations to be build. Closes #241, and thanks to jeberger for report with patch.
author osimons
date Sun, 05 Jul 2009 12:47:13 +0000
parents 1caaefd76375
children f5ba11158030
files bitten/model.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/model.py
+++ b/bitten/model.py
@@ -514,7 +514,7 @@
 
         cursor = db.cursor()
         cursor.execute("SELECT id FROM bitten_build %s "
-                       "ORDER BY config,rev_time DESC,slave"
+                       "ORDER BY rev_time,config DESC,slave"
                        % where, [wc[1] for wc in where_clauses])
         for (id,) in cursor:
             yield Build.fetch(env, id)
Copyright (C) 2012-2017 Edgewall Software