Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-07-08 10:41:31 +0200
committerErich Eckner <git@eckner.net>2023-07-08 10:41:31 +0200
commita51f2bbec16f551dd604780dcb4218107c5926a6 (patch)
treec1461b34572cb6dbd3552fbd5e8ea33c6ffd858c
parent87773f80fcd2febea920083b752c42511e7f5dc8 (diff)
bin/harvest-commit-times: always order randomly
-rwxr-xr-xbin/harvest-commit-times4
1 files changed, 1 insertions, 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' \