-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlychee.toml
More file actions
26 lines (22 loc) · 712 Bytes
/
lychee.toml
File metadata and controls
26 lines (22 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Lychee link checker configuration.
# https://lychee.cli.rs/usage/config/
# Networking
max_redirects = 5
max_concurrency = 8
timeout = 20
retry_wait_time = 2
max_retries = 3
# Treat anything 200-299, plus a few well-known transient codes, as success.
# - 403/429: rate limits / WAFs that bounce headless clients
# - 503: temporary service unavailable
accept = ["200..=299", "403", "429", "503"]
# Don't bother resolving these on every run.
exclude = [
# localhost links in code samples
'^https?://(localhost|127\.0\.0\.1)',
'^http://0\.0\.0\.0',
# example/placeholder domains
'^https?://[^/]*example\.(com|org|net)',
'api\.example\.com',
]
no_progress = true