Beware of GitHub API Rate Limits

This commit is contained in:
Lup Yuen Lee 2024-10-26 03:46:08 +08:00
parent 3f08f4a9c6
commit d67d82b728
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ function add_runner_hours {
| jq '.run_duration_ms'
)
# Beware of GitHub API Rate Limits
sleep 0.1
sleep 1
if [[ "$run_duration_ms" == "null" ]]; then
continue
fi

View file

@ -42,7 +42,7 @@ function add_runner_hours {
| jq '.run_duration_ms'
)
# Beware of GitHub API Rate Limits
sleep 0.1
sleep 1
if [[ "$run_duration_ms" == "null" ]]; then
continue
fi