1
0
mirror of synced 2026-01-07 09:01:31 -05:00

reduce linkinator concurrency from 300 to 100 (#28176)

* reduce linkinator concurrency from 300 to 100

* reduce it and use self-hosted

* try again

* actually do concurrency of 10

* move the override to the Action workflow

* typo

* avoid memory bloat

* rename

* back to 100

* set LINKINATOR_CONCURRENCY on the right thing

* remove some debugging
This commit is contained in:
Peter Bengtsson
2022-06-13 14:51:09 -04:00
committed by GitHub
parent eed709be03
commit da5884ebe3

View File

@@ -58,9 +58,6 @@ jobs:
REQUEST_TIMEOUT: 20000
# Don't care about CDN caching image URLs
DISABLE_REWRITE_ASSET_URLS: true
# The default is 300 which works OK on a fast macbook pro
# but so well in Actions.
LINKINATOR_CONCURRENCY: 100
run: |
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
sleep 5
@@ -75,6 +72,10 @@ jobs:
cat /tmp/stderr.log
- name: Run script
env:
# The default is 300 which works OK on a fast macbook pro
# but not so well in Actions.
LINKINATOR_CONCURRENCY: 100
run: |
script/check-english-links.js > broken_links.md
@@ -86,11 +87,6 @@ jobs:
#
# https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
- if: ${{ failure() }}
name: Debug broken_links.md
run: |
ls -lh broken_links.md
wc -l broken_links.md
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
if: ${{ failure() }}
with: