summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.py b/build.py
index 8e1d763..d83686c 100755
--- a/build.py
+++ b/build.py
@@ -54,7 +54,7 @@ def main():
JOIN depcheck
ON d.architecture = depcheck.architecture
WHERE d.satisfiable = 1 AND depcheck.giveback = 0
- ORDER BY r.priority DESC, random() LIMIT 1;""")
+ ORDER BY r.priority DESC, r.requesttime ASC LIMIT 1;""")
row = cur.fetchone()
if not row:
cur.execute("""