aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-08-08 20:10:19 +0100
committerGitHub <noreply@github.com>2020-08-09 03:10:19 +0800
commite2237d8cd26e27a284c6a564762345e84a365dae (patch)
treef86a908f0bbfcb82aaa7dc4e9beb49183a54cbf9 /.github
parent91f078fe35535a920230420bb9fbaf9626a3ebc4 (diff)
downloadtracifyjs-e2237d8cd26e27a284c6a564762345e84a365dae.tar.gz
tracifyjs-e2237d8cd26e27a284c6a564762345e84a365dae.zip
improve `ufuzz` duty cycle heuristic (#4045)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ufuzz.yml4
1 files changed, 2 insertions, 2 deletions
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