diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-03-23 13:22:47 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2019-03-23 13:22:47 +0100 |
commit | 594575d553cec98ff5d9f10d5543a26dd3ee2967 (patch) | |
tree | f2ec11a5ee414cf82798e069baf67cf1920917f2 /build.py | |
parent | 67c979e59f730a9a18b99844080ca721f6ea12d6 (diff) | |
download | crossqa-594575d553cec98ff5d9f10d5543a26dd3ee2967.tar.gz |
build.py: add back random ordering
Otherwise "any" builds will always schedule for arm64.
Diffstat (limited to 'build.py')
-rwxr-xr-x | build.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -54,7 +54,8 @@ def main(): JOIN depcheck ON d.architecture = depcheck.architecture WHERE d.satisfiable = 1 AND depcheck.giveback = 0 - ORDER BY r.priority DESC, r.requesttime ASC LIMIT 1;""") + ORDER BY r.priority DESC, r.requesttime ASC, random() + LIMIT 1;""") row = cur.fetchone() if not row: cur.execute(""" |