From e2237d8cd26e27a284c6a564762345e84a365dae Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 8 Aug 2020 20:10:19 +0100 Subject: improve `ufuzz` duty cycle heuristic (#4045) --- .github/workflows/ufuzz.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ufuzz.yml b/.github/workflows/ufuzz.yml index 4dd9de2e..4a55eb48 100644 --- a/.github/workflows/ufuzz.yml +++ b/.github/workflows/ufuzz.yml @@ -38,10 +38,10 @@ jobs: while !(npm install); do echo "'npm install' failed - retrying..."; done PERIOD=1800000 if [[ $CAUSE == "schedule" ]]; then - PERIOD=$(( 3600 * `node test/ufuzz/actions $BASE_URL $TOKEN` )) + PERIOD=`node test/ufuzz/actions $BASE_URL $TOKEN` fi if (( $PERIOD == 0 )); then - echo "too many jobs in queue - exiting..." + echo "too many jobs in queue - skipping..." else node test/ufuzz/job $PERIOD fi -- cgit v1.2.3