From a51f2bbec16f551dd604780dcb4218107c5926a6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 8 Jul 2023 10:41:31 +0200 Subject: bin/harvest-commit-times: always order randomly --- bin/harvest-commit-times | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/harvest-commit-times b/bin/harvest-commit-times index 2bd1f16..9c6b0eb 100755 --- a/bin/harvest-commit-times +++ b/bin/harvest-commit-times @@ -103,9 +103,7 @@ while true; do mysql_join_package_sources_build_assignments printf ' WHERE `package_sources`.`commit_time`="0000-00-00 00:00:00"' printf ' AND `package_sources`.`uses_upstream`' - if ! ${i_am_the_master}; then - printf ' ORDER BY RAND()' - fi + printf ' ORDER BY RAND()' printf ' LIMIT 10' } \ | mysql_run_query 'unimportant' \ -- cgit v1.2.3-70-g09d2