Skip to content

Commit ca81192

Browse files
committed
fix(ci): reduce lychee concurrency to avoid GitHub rate limits
1 parent cbc3c0a commit ca81192

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/docs-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
contents: read
3838
pull-requests: read
3939
runs-on: ubuntu-latest
40-
timeout-minutes: 15
40+
timeout-minutes: 30
4141
steps:
4242
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
4343
with:

.lychee.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ exclude_loopback = true
5757
cache = true
5858

5959
# Maximum age of cached results
60-
max_cache_age = "1d"
60+
max_cache_age = "7d"
6161

6262
# Maximum concurrent requests
63-
max_concurrency = 16
63+
max_concurrency = 2
6464

6565
# User agent string
6666
user_agent = "lychee/0.14 (Zebra link checker; https://github.com/ZcashFoundation/zebra)"
@@ -70,5 +70,4 @@ include_mail = false
7070

7171
# Retry configuration
7272
max_retries = 3
73-
retry_wait_time = 2
74-
73+
retry_wait_time = 10

0 commit comments

Comments
 (0)