Skip to content

Commit b492b05

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

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.lychee.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ exclude_path = [
4444
]
4545

4646
# Accept these HTTP status codes as valid
47-
accept = ["200", "204", "206", "301", "302", "307", "308"]
47+
accept = ["200", "204", "206", "301", "302", "307", "308", "429"]
4848

4949
# Timeout for requests (seconds)
5050
timeout = 30
@@ -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 = 8
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)