From b7cc5e7e0547346ef87445d2dfd8c2b636dc3287 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 5 Jun 2021 20:29:14 +0200 Subject: bin/get-assignment: some queries (which seem to fail often lately) do not alter the database - mark them as "unimportant", so the buildmaster does not loose sanity, if they get interrupted / aborted (possibly due to ssh connection abortions) --- bin/get-assignment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/get-assignment b/bin/get-assignment index f2930c4..6abfaef 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -553,7 +553,7 @@ next_building=$( printf '`build_assignments`.`id`' printf ' LIMIT 1;\n' } | \ - mysql_run_query + mysql_run_query 'unimportant' ) if [ -n "${next_building}" ]; then hand_out_assignment "${next_building}" @@ -579,7 +579,7 @@ count_pending=$( "${arch}" printf ';\n' } | \ - mysql_run_query + mysql_run_query 'unimportant' ) if [ "${count_pending}" -eq 0 ]; then -- cgit v1.2.3-70-g09d2