summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtsp/scripts/log.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/scripts/log.sh b/tsp/scripts/log.sh
index 43fe5f4..eb6b398 100755
--- a/tsp/scripts/log.sh
+++ b/tsp/scripts/log.sh
@@ -28,6 +28,6 @@ QUEUE="$(echo "${TMPDIR##*/}" | tr '-' '_')"
# tsp will refer to the proper queue, because TMPDIR is passed here
EXECUTION_TIME=$(tsp -i "$JOBID" | grep "Time run" | grep -o "[0-9]\+\.[0-9]\+")
# Skip jobs below 1s execution time
-test "${EXECUTION_TIME%%.*}" -ge "1" && \
+test "${EXECUTION_TIME%%.*}" -ge "8" && \
post_prom "ts_execution_time_$QUEUE" "$EXECUTION_TIME" "Execution time for the $QUEUE queue"
post_prom "ts_exit_status_$QUEUE" "$EXIT_STATUS" "Exit status for the $QUEUE queue"